Simplify the loop-unswitch pass, by not even trying to unswitch loops with
authorChris Lattner <sabre@nondot.org>
Thu, 9 Feb 2006 19:14:52 +0000 (19:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Feb 2006 19:14:52 +0000 (19:14 +0000)
commit2f4b898e8cecbc8d94d877834a210827312e4671
treea035c23cfbf12fde9c0b5a2ed756bd6c96ec43e2
parent9a4cacb7c293c3e0ad97910ec75a0bd161310ab3
Simplify the loop-unswitch pass, by not even trying to unswitch loops with
uses of loop values outside the loop.  We need loop-closed SSA form to do
this right, or to use SSA rewriting if we really care.

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