Fix a bug where we could corrupt a parent loop's header info if we unrolled
authorChris Lattner <sabre@nondot.org>
Sun, 6 Mar 2005 20:57:32 +0000 (20:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 6 Mar 2005 20:57:32 +0000 (20:57 +0000)
commitdecc86db0c29e4ae593bf73e77ca0855f6c7d1c3
tree1922ce22d4a1d8f6f420a488293254d993e88f37
parent801d9082e0d20a9e3e5709a77e11c341a3289293
Fix a bug where we could corrupt a parent loop's header info if we unrolled
a nested loop.  This fixes Transforms/LoopUnroll/2005-03-06-BadLoopInfoUpdate.ll
and PR532

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