Displaying 2 results from an estimated 2 matches for "llvm_nbnjrg".
2011 Feb 15
2
[LLVMdev] Make "llvmc -opt" call "opt" for .ll files
.../tmp/llvm_2xiL86/test.o
llvm-ld -native -disable-internalize /tmp/llvm_2xiL86/test.o -o a.out
This patch makes a small change to tools/llvmc/src/Base.td so that
"-opt" is honored for .ll files. Invoking llvmc with this patch
results in:
$ llvmc -clang -v test.ll
llc -O2 test.ll -o /tmp/llvm_nbnJRg/test.s
as /tmp/llvm_nbnJRg/test.s -o /tmp/llvm_nbnJRg/test.o
llvm-ld -native -disable-internalize /tmp/llvm_nbnJRg/test.o -o a.out
$ llvmc -clang -opt -v test.ll
llvm-as test.ll -o /tmp/llvm_OoIRlO/test.bc
opt -f -O2 /tmp/llvm_OoIRlO/test.bc -o /tmp/llvm_OoIRlO/test.bc-GHASUE
llc -O2 /tmp/llvm_OoI...
2011 Feb 15
0
[LLVMdev] Make "llvmc -opt" call "opt" for .ll files
.../tmp/llvm_2xiL86/test.o
llvm-ld -native -disable-internalize /tmp/llvm_2xiL86/test.o -o a.out
This patch makes a small change to tools/llvmc/src/Base.td so that
"-opt" is honored for .ll files. Invoking llvmc with this patch
results in:
$ llvmc -clang -v test.ll
llc -O2 test.ll -o /tmp/llvm_nbnJRg/test.s
as /tmp/llvm_nbnJRg/test.s -o /tmp/llvm_nbnJRg/test.o
llvm-ld -native -disable-internalize /tmp/llvm_nbnJRg/test.o -o a.out
$ llvmc -clang -opt -v test.ll
llvm-as test.ll -o /tmp/llvm_OoIRlO/test.bc
opt -f -O2 /tmp/llvm_OoIRlO/test.bc -o /tmp/llvm_OoIRlO/test.bc-GHASUE
llc -O2 /tmp/llvm_OoI...