Skip to content

Commit 0a85b31

Browse files
committed
LowerTypeTests: Fix UAF.
1 parent f532167 commit 0a85b31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/IPO/LowerTypeTests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2525,6 +2525,7 @@ PreservedAnalyses SimplifyTypeTestsPass::run(Module &M,
25252525
CI->replaceAllUsesWith(ConstantInt::getTrue(M.getContext()));
25262526
CI->eraseFromParent();
25272527
Changed = true;
2528+
continue;
25282529
}
25292530
}
25302531
auto *CE = dyn_cast<ConstantExpr>(U);

0 commit comments

Comments
 (0)