[LLVMdev] What is the optimization level means?

don dondum113 at gmail.com
Mon Jun 6 09:49:10 PDT 2011


I tried to understand what the difference in optimization level and I got
confuse...
When I use *llc -O1, -O2, or -O3*, I always got the same assembly code in my
test program.
Can anybody teach me that what's the actual effect for using different
optimization level ?

Best,
Foster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110607/3ebcde12/attachment.html>


More information about the llvm-dev mailing list