diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-13 01:51:53 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-13 01:51:53 +0000 |
commit | f0907fe59093753fe5a9e8fe5adc399dbdc94627 (patch) | |
tree | 75556242d62e839f4526aac4cfc277c6ad8ca59f /lib/Transforms/Utils/BreakCriticalEdges.cpp | |
parent | 95a5a7d57015c21b355a351c2efc6866f89b2f61 (diff) |
Enable the inlinehint attribute in the Inliner.
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%
Note that 483.xalancbmk runs too quickly to give useful timing results.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96066 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/BreakCriticalEdges.cpp')
0 files changed, 0 insertions, 0 deletions