Revert "Revert r253253 and r253126: "Don't recompute LCSSA after loop-unrolling when...
authorMichael Zolotukhin <mzolotukhin@apple.com>
Wed, 9 Dec 2015 18:20:28 +0000 (18:20 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Wed, 9 Dec 2015 18:20:28 +0000 (18:20 +0000)
commit4c0fb60923bd45a297757929800a8ba97b531cbb
tree219d626a9ff407d5fed5c390a2115e2f573e23b5
parent65711ad4e36f91de64aa3dde76fde143cec85c83
Revert "Revert r253253 and r253126: "Don't recompute LCSSA after loop-unrolling when possible.""

The bug in IndVarSimplify was fixed in r254976, r254977, so I'm
reapplying the original patch for avoiding redundant LCSSA recomputation.

This reverts commit ffe3b434e505e403146aff00be0c177bb6d13466.

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