Make LoopUnswitch preserve ScalarEvolution by just forgetting everything about
authorCameron Zwarich <zwarich@apple.com>
Fri, 11 Feb 2011 06:08:28 +0000 (06:08 +0000)
committerCameron Zwarich <zwarich@apple.com>
Fri, 11 Feb 2011 06:08:28 +0000 (06:08 +0000)
commit71132af89a56f237bc6e18a4e1247b0fc8ee3e6b
treece4312c14845c25cbb00cef1da6f5991bf1df3c9
parentfae0abe8eb0def41ee8617aea04c4f18f07d95e8
Make LoopUnswitch preserve ScalarEvolution by just forgetting everything about
a loop when unswitching it. It only does this in the complex case, because
everything should be fine already in the simple case.

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