[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
khamenya at mail.ru
Sat May 1 04:58:01 PDT 2004
there are two issues concerning invoking
is very nice, it would be good though to add in a section
An Example Using the LLVM Tool Chain
examples on optimization step.
If i am not wrong there is no tool, which integrates all
llvmgcc->opt->llc into something like llcc
(and llvmg++->opt->llc into something like ll++),
where options -O1, -O2, -O3 are available. For example,
`llcc -O3 ackerman.c' should make similar (but better!)
things as `gcc -O3 ackerman.c' does.
Anyway, it would be good to have a starting point
for those who'd like to try "fully LLVM-optimized"
C/C++ code. Indeed, the tool "opt" has quite big
set of options...
More information about the llvm-dev