summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorMax Kazantsev <max.kazantsev@azul.com>2018-04-24 09:11:01 +0000
committerMax Kazantsev <max.kazantsev@azul.com>2018-04-24 09:11:01 +0000
commitc54e67d6b9010131d7ce81af0a957cbbd5a05525 (patch)
tree57aba26a6234dfe1c90e50a1e4a8fd5d01d5d260 /llvm/lib/Transforms
parentf3561ffa878720c0cb8bc022a2d0d3a70aacb004 (diff)
downloadbcm5719-llvm-c54e67d6b9010131d7ce81af0a957cbbd5a05525.tar.gz
bcm5719-llvm-c54e67d6b9010131d7ce81af0a957cbbd5a05525.zip
[NFC] Remove recently added SE verification because it may be false-positive
llvm-svn: 330699
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Utils/LoopRotationUtils.cpp6
-rw-r--r--llvm/lib/Transforms/Utils/LoopSimplify.cpp6
2 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
index a7dc34f24eb..e178c99b456 100644
--- a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
+++ b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
@@ -479,12 +479,6 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) {
DEBUG(dbgs() << "LoopRotation: into "; L->dump());
-#ifndef NDEBUG
- // Make sure that after all our transforms SE is correct.
- if (SE)
- SE->verify();
-#endif
-
++NumRotated;
return true;
}
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
index e603f812db0..1ee21411377 100644
--- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp
+++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
@@ -674,12 +674,6 @@ ReprocessLoop:
if (Changed && SE)
SE->forgetTopmostLoop(L);
-#ifndef NDEBUG
- // Make sure that after all our transforms SE is correct.
- if (SE)
- SE->verify();
-#endif
-
return Changed;
}
OpenPOWER on IntegriCloud