Speculatively revert r146578 to determine if it is the cause of a number of
authorChad Rosier <mcrosier@apple.com>
Thu, 22 Dec 2011 02:40:57 +0000 (02:40 +0000)
committerChad Rosier <mcrosier@apple.com>
Thu, 22 Dec 2011 02:40:57 +0000 (02:40 +0000)
commit5ddb7a0105a71faf86bed587b1682a3add99e551
tree741d7d0f7642dde3c6c61487b859143640629ea3
parent4982159b885f1db4cc29b1695841121db85a64a1
Speculatively revert r146578 to determine if it is the cause of a number of
performance regressions (both execution-time and compile-time) on our
nightly testers.

Original commit message:
Fix for bug #11429: Wrong behaviour for switches. Small improvement for code
size heuristics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147131 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnswitch.cpp
test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll [deleted file]
test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll [deleted file]
test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll [deleted file]