[PATCH] D67571: [LICM] Don't verify domtree/loopinfo unless EXPENSIVE_CHECKS is enabled.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 15:35:45 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL372924: [LICM] Don't verify domtree/loopinfo unless EXPENSIVE_CHECKS is enabled. (authored by efriedma, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D67571?vs=220172&id=221849#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67571/new/
https://reviews.llvm.org/D67571
Files:
llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Index: llvm/trunk/lib/Transforms/Scalar/LICM.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Scalar/LICM.cpp
+++ llvm/trunk/lib/Transforms/Scalar/LICM.cpp
@@ -963,7 +963,7 @@
// Now that we've finished hoisting make sure that LI and DT are still
// valid.
-#ifndef NDEBUG
+#ifdef EXPENSIVE_CHECKS
if (Changed) {
assert(DT->verify(DominatorTree::VerificationLevel::Fast) &&
"Dominator tree verification failed");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67571.221849.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190925/0b6bc7b9/attachment.bin>
More information about the llvm-commits
mailing list