[LLVMdev] Inlining

John McCall rjmccall at apple.com
Fri Jan 8 14:10:28 PST 2010


On Jan 8, 2010, at 1:52 PM, Dustin Laurence wrote:
> gemini:~/Projects/Nil/nil(0)$ make testInline.s testInline
> llvm-as testInline.ll
> llc -O3 -f testInline.bc


'llc' is an IR-to-assembly compiler;  at -O3 it does some pretty neat machine-code and object-file optimizations, but it does not apply high-level optimizations like CSE or inlining.  'opt' is the tool which does IR-to-IR optimization.

John.



More information about the llvm-dev mailing list