Revert r253253 and r253126: "Don't recompute LCSSA after loop-unrolling when possible."
authorMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 19 Nov 2015 20:28:32 +0000 (20:28 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 19 Nov 2015 20:28:32 +0000 (20:28 +0000)
commitffe3b434e505e403146aff00be0c177bb6d13466
tree6f5742f23de57bcec289f1520c822ae7b8d19ec6
parent0a7baafe6489b8973a26377f38da7a8fd8ee65b6
Revert r253253 and r253126: "Don't recompute LCSSA after loop-unrolling when possible."

The change exposed a bug in IndVarSimplify (PR25578), which led to a
failure (PR25538). When the bug is fixed, this patch can be reapplied.

The tests are kept in tree, as they're useful anyway, and will not break
with this revert.

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