summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-28 08:52:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-28 08:52:44 +0000
commitd6d57bc3fb1922ebffff028b382c6521624e3731 (patch)
treecb2165e4a198c3cdf9d6f650e7733d7d45bcbd77 /cmake
parent0ddc7447d9a4d2e363256de653f5aa9d6033cce5 (diff)
downloadllvm-d6d57bc3fb1922ebffff028b382c6521624e3731.tar.gz
llvm-d6d57bc3fb1922ebffff028b382c6521624e3731.tar.bz2
llvm-d6d57bc3fb1922ebffff028b382c6521624e3731.tar.xz
[inliner] Significantly improve the compile time in cases like PR19499
by avoiding inlining massive switches merely because they have no instructions in them. These switches still show up where we fail to form lookup tables, and in those cases they are actually going to cause a very significant code size hit anyways, so inlining them is not the right call. The right way to fix any performance regressions stemming from this is to enhance the switch-to-lookup-table logic to fire in more places. This makes PR19499 about 5x less bad. It uncovers a second compile time problem in that test case that is unrelated (surprisingly!). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions