[LLVMdev] How to use LLVM optimizations with clang

Duncan Sands baldrick at free.fr
Tue Jun 12 03:42:59 PDT 2012


Hi, the reason is that lli does optimized code generation by default, while
clang does unoptimized codegen by default.  Use this
   clang -O2 comb.ll
instead.

Ciao, Duncan.



More information about the llvm-dev mailing list