Don't hoist things out of a large switch inside a
authorDale Johannesen <dalej@apple.com>
Tue, 20 Jul 2010 00:50:13 +0000 (00:50 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 20 Jul 2010 00:50:13 +0000 (00:50 +0000)
commitbf1ae5e254f8f6f6f3dfe9438d14bef9b955f01f
treee13d8954f65191d5d1ef6ef416fe0a20e511e98a
parent7a2b701ef6a294170fb92a535d52bc533778acff
Don't hoist things out of a large switch inside a
loop, for the reasons in the comments.  This is a
major win on 253.perlbmk on ARM Darwin.  I expect it
to be a good heuristic in general, but it's possible
some things will regress; I'll be watching.
7940152.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108792 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineLICM.cpp