Switch to a very conservative heuristic for determining when loop-unswitching
authorOwen Anderson <resistor@mac.com>
Wed, 28 Jun 2006 17:47:50 +0000 (17:47 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 28 Jun 2006 17:47:50 +0000 (17:47 +0000)
commit372994be25cbb4687516833b9859820414399c57
treecc25d705d213f902bbb79ec6c4fcfb9fed7689bc
parentd2280183961dd120288e8a0ee319d46e0cf81e97
Switch to a very conservative heuristic for determining when loop-unswitching
will be profitable.  This is mainly to remove some cases where excessive
unswitching would result in long compile times and/or huge generated code.

Once someone comes up with a better heuristic that avoids these cases, this
should be switched out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28962 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnswitch.cpp