[llvm] r330699 - [NFC] Remove recently added SE verification because it may be false-positive
Max Kazantsev via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 24 02:11:01 PDT 2018
Author: mkazantsev
Date: Tue Apr 24 02:11:01 2018
New Revision: 330699
URL: http://llvm.org/viewvc/llvm-project?rev=330699&view=rev
Log:
[NFC] Remove recently added SE verification because it may be false-positive
Modified:
llvm/trunk/lib/Transforms/Utils/LoopRotationUtils.cpp
llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LoopRotationUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopRotationUtils.cpp?rev=330699&r1=330698&r2=330699&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopRotationUtils.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopRotationUtils.cpp Tue Apr 24 02:11:01 2018
@@ -479,12 +479,6 @@ bool LoopRotate::rotateLoop(Loop *L, boo
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;
}
Modified: llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp?rev=330699&r1=330698&r2=330699&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp Tue Apr 24 02:11:01 2018
@@ -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;
}
More information about the llvm-commits
mailing list