Fix PR223: Loopsimplify incorrectly updates dominator information
authorChris Lattner <sabre@nondot.org>
Thu, 5 Feb 2004 21:12:24 +0000 (21:12 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 5 Feb 2004 21:12:24 +0000 (21:12 +0000)
commit4f02fc28eb20f20f41c5ea148ce5058a72b55ade
treee546f92443cace4cbc82a61bc69b9092efc2ae91
parent7f5dd4a4e0f3e921570f96a7b098002722ab51e6
Fix PR223: Loopsimplify incorrectly updates dominator information

The problem is that the dominator update code didn't "realize" that it's
possible for the newly inserted basic block to dominate anything.  Because
it IS possible, stuff was getting updated wrong.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11137 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopSimplify.cpp