forked from OSchip/llvm-project
Properly use DT.verify in LoopSimplifyCFG
llvm-svn: 352621
This commit is contained in:
parent
95f2ca541f
commit
365021cc15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue