[PATCH] D61055: [LoopSimplifyCFG] Suppress expensive DomTree verification in LoopSimplifyCFG
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 06:29:20 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL359446: [LoopSimplifyCFG] Suppress expensive DomTree verification (authored by yrouban, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D61055?vs=197072&id=197097#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61055/new/
https://reviews.llvm.org/D61055
Files:
llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
Index: llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
+++ llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
@@ -598,7 +598,13 @@
#ifndef NDEBUG
// Make sure that we have preserved all data structures after the transform.
- assert(DT.verify() && "DT broken after transform!");
+#if defined(EXPENSIVE_CHECKS)
+ assert(DT.verify(DominatorTree::VerificationLevel::Full) &&
+ "DT broken after transform!");
+#else
+ assert(DT.verify(DominatorTree::VerificationLevel::Fast) &&
+ "DT broken after transform!");
+#endif
assert(DT.isReachableFromEntry(Header));
LI.verify(DT);
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61055.197097.patch
Type: text/x-patch
Size: 757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190429/0ef3c3f7/attachment.bin>
More information about the llvm-commits
mailing list