diff options
| author | Dale Johannesen <dalej@apple.com> | 2010-02-19 01:54:37 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2010-02-19 01:54:37 +0000 |
| commit | 1f790c28d04787cf7e67bfa0807baddb22e15490 (patch) | |
| tree | 13512322c8222c5ba1bbd609817dd79362fb8841 /llvm/lib/Transforms | |
| parent | 013041eef05bc87f50eae1b8ab8aee7c1c6ecc86 (diff) | |
| download | bcm5719-llvm-1f790c28d04787cf7e67bfa0807baddb22e15490.tar.gz bcm5719-llvm-1f790c28d04787cf7e67bfa0807baddb22e15490.zip | |
Revert 96626, which causes build failure on ppc Darwin.
llvm-svn: 96653
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp index 60492b02836..e699261b277 100644 --- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -246,13 +246,6 @@ void IndVarSimplify::RewriteLoopExitValues(Loop *L, if (!PN->getType()->isIntegerTy() && !PN->getType()->isPointerTy()) continue; - // It's necessary to tell ScalarEvolution about this explicitly so that - // it can walk the def-use list and forget all SCEVs, as it may not be - // watching the PHI itself. Once the new exit value is in place, there - // may not be a def-use connection between the loop and every instruction - // which got a SCEVAddRecExpr for that loop. - SE->forgetValue(PN); - // Iterate over all of the values in all the PHI nodes. for (unsigned i = 0; i != NumPreds; ++i) { // If the value being merged in is not integer or is not defined |

