Skip to content

Commit 9aff5e1

Browse files
[JumpThreading] Fix a comment typo (NFC)
Reviewers: kazu Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70013
1 parent 51adeae commit 9aff5e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/JumpThreading.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ bool JumpThreadingPass::MaybeMergeBasicBlockIntoOnlyPred(BasicBlock *BB) {
18971897
LVI->eraseBlock(SinglePred);
18981898
MergeBasicBlockIntoOnlyPred(BB, DTU);
18991899

1900-
// Now that BB is merged into SinglePred (i.e. SinglePred Code followed by
1900+
// Now that BB is merged into SinglePred (i.e. SinglePred code followed by
19011901
// BB code within one basic block `BB`), we need to invalidate the LVI
19021902
// information associated with BB, because the LVI information need not be
19031903
// true for all of BB after the merge. For example,

0 commit comments

Comments
 (0)