Skip to content

Commit 83ba9d5

Browse files
committed
Fix a comment
1 parent 939eda7 commit 83ba9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Utils/SimplifyCFG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5448,7 +5448,7 @@ static bool removeEmptyCleanup(CleanupReturnInst *RI, DomTreeUpdater *DTU) {
54485448
}
54495449

54505450
// Sink any remaining PHI nodes directly into UnwindDest.
5451-
BasicBlock::iterator InsertPt = UnwindDest->getFirstNonPHIIt(); // XXX unsafe faff
5451+
BasicBlock::iterator InsertPt = UnwindDest->getFirstNonPHIIt();
54525452
for (PHINode &PN : make_early_inc_range(BB->phis())) {
54535453
if (PN.use_empty() || !PN.isUsedOutsideOfBlock(BB))
54545454
// If the PHI node has no uses or all of its uses are in this basic

0 commit comments

Comments
 (0)