Skip to content

Commit c113d0b

Browse files
committed
[NFC] Drop NDEBUG around MSSA verification
Proposed on review of https://reviews.llvm.org/D145894.
1 parent 47021bd commit c113d0b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Transforms/Scalar/IndVarSimplify.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,13 +2159,11 @@ bool IndVarSimplify::run(Loop *L) {
21592159
// Clean up dead instructions.
21602160
Changed |= DeleteDeadPHIs(L->getHeader(), TLI, MSSAU.get());
21612161

2162-
#ifndef NDEBUG
21632162
// Check a post-condition.
21642163
assert(L->isRecursivelyLCSSAForm(*DT, *LI) &&
21652164
"Indvars did not preserve LCSSA!");
21662165
if (VerifyMemorySSA && MSSAU)
21672166
MSSAU->getMemorySSA()->verifyMemorySSA();
2168-
#endif
21692167

21702168
return Changed;
21712169
}

0 commit comments

Comments
 (0)