This commit is contained in:
nora 2023-05-30 16:40:05 +02:00
parent 3e1215e870
commit 096d0e78ac
6 changed files with 44 additions and 10 deletions

7
checkllvm.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
rustc code.rs --crate-name ll -Zmir-enable-passes=-ConstProp --emit llvm-ir -Cno-prepopulate-passes --crate-type=lib
clang ll.ll helper.c
./a.out