[llvm-commits] [llvm] r96066 - /llvm/trunk/lib/Transforms/IPO/Inliner.cpp

Anton Korobeynikov anton at korobeynikov.info
Sat Feb 13 05:55:47 PST 2010


Hi, Jakob

> Functions explicitly marked inline will get an inlining threshold slightly
> more aggressive than the default for -O3. This means than -O3 builds are
> mostly unaffected while -Os builds will be a bit bigger and faster.
>
> The difference depends entirely on how many 'inline's are sprinkled on the
> source.
>
> In the CINT2006 suite, only these tests are significantly affected under -Os:
>
>               Size   Time
> 471.omnetpp   +1.63% -1.85%
> 473.astar     +4.01% -6.02%
> 483.xalancbmk +4.60%  0.00%
What's the point then? This looks like a significant pessimization -
the code is 5% larger.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list