Displaying 2 results from an estimated 2 matches for "llvm_2xil86".
2011 Feb 15
2
[LLVMdev] Make "llvmc -opt" call "opt" for .ll files
...s
when "-opt" is passed to llvmc:
$ llvmc -clang -v test.ll
llc -f -O2 test.ll -o /tmp/llvm_gvO2nK/test.s
as /tmp/llvm_gvO2nK/test.s -o /tmp/llvm_gvO2nK/test.o
llvm-ld -native -disable-internalize /tmp/llvm_gvO2nK/test.o -o a.out
$ llvmc -clang -opt -v test.ll
llc -f -O2 test.ll -o /tmp/llvm_2xiL86/test.s
as /tmp/llvm_2xiL86/test.s -o /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 -cla...
2011 Feb 15
0
[LLVMdev] Make "llvmc -opt" call "opt" for .ll files
...s
when "-opt" is passed to llvmc:
$ llvmc -clang -v test.ll
llc -f -O2 test.ll -o /tmp/llvm_gvO2nK/test.s
as /tmp/llvm_gvO2nK/test.s -o /tmp/llvm_gvO2nK/test.o
llvm-ld -native -disable-internalize /tmp/llvm_gvO2nK/test.o -o a.out
$ llvmc -clang -opt -v test.ll
llc -f -O2 test.ll -o /tmp/llvm_2xiL86/test.s
as /tmp/llvm_2xiL86/test.s -o /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 -cla...