[LLVMdev] Inlining

Chris Lattner clattner at apple.com
Fri Jan 8 16:36:47 PST 2010


On Jan 8, 2010, at 3:08 PM, Dustin Laurence wrote:

> On 01/08/2010 02:10 PM, John McCall wrote:
>
>> '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.
>
> A vital clue, but I'm still not getting it:

Try opt -O3.

-Chris




More information about the llvm-dev mailing list