[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
"?=Valery A.Khamenya=?koi8-r?Q?"
khamenya at mail.ru
Sat May 1 04:58:01 PDT 2004
Hi devels,
there are two issues concerning invoking
optimizations:
1.
this document:
http://llvm.cs.uiuc.edu/docs/GettingStarted.html
is very nice, it would be good though to add in a section
An Example Using the LLVM Tool Chain
examples on optimization step.
2.
If i am not wrong there is no tool, which integrates all
steps:
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...
best regards,
---
Valery A.Khamenya
More information about the llvm-dev
mailing list