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 | 492b8b42cd7f72f977eef4e0f73768a8a5b47d41 (patch) | |
tree | ee6e4e6a4ccb44d47784df08270319b30ce5df22 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 44232af55a8360c5477c24679dccd5a34e89cd11 (diff) | |
download | llvm-492b8b42cd7f72f977eef4e0f73768a8a5b47d41.zip llvm-492b8b42cd7f72f977eef4e0f73768a8a5b47d41.tar.gz llvm-492b8b42cd7f72f977eef4e0f73768a8a5b47d41.tar.bz2 |
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.
llvm-svn: 96066
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions