summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-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