Displaying 2 results from an estimated 2 matches for "0680220b".
2011 Feb 15
0
[LLVMdev] Make "llvmc -opt" call "opt" for .ll files
...e -disable-internalize /tmp/llvm_OoIRlO/test.o -o a.out
Cheers,
Kaelyn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-opt-ll.diff
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110215/0680220b/attachment.bin>
2011 Feb 15
2
[LLVMdev] Make "llvmc -opt" call "opt" for .ll files
Without this patch, opt is never called for llvm-assembly (.ll) files
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