Properly use DT.verify in LoopSimplifyCFG

llvm-svn: 352621
This commit is contained in:
Max Kazantsev 2019-01-30 12:32:19 +00:00
parent 95f2ca541f
commit 365021cc15
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ public:
#ifndef NDEBUG
// Make sure that we have preserved all data structures after the transform.
DT.verify();
assert(DT.verify() && "DT broken after transform!");
assert(DT.isReachableFromEntry(L.getHeader()));
LI.verify(DT);
#endif