[llvm] 9aff5e1 - [JumpThreading] Fix a comment typo (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 09:29:58 PST 2019


Author: Kazu Hirata
Date: 2019-11-08T09:29:46-08:00
New Revision: 9aff5e1c188445190249f5cb78a574a4bedc55b0

URL: https://github.com/llvm/llvm-project/commit/9aff5e1c188445190249f5cb78a574a4bedc55b0
DIFF: https://github.com/llvm/llvm-project/commit/9aff5e1c188445190249f5cb78a574a4bedc55b0.diff

LOG: [JumpThreading] Fix a comment typo (NFC)

Reviewers: kazu

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70013

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/JumpThreading.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index 347e2cb273c6..6b90f41718c0 100644
--- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -1897,7 +1897,7 @@ bool JumpThreadingPass::MaybeMergeBasicBlockIntoOnlyPred(BasicBlock *BB) {
   LVI->eraseBlock(SinglePred);
   MergeBasicBlockIntoOnlyPred(BB, DTU);
 
-  // Now that BB is merged into SinglePred (i.e. SinglePred Code followed by
+  // Now that BB is merged into SinglePred (i.e. SinglePred code followed by
   // BB code within one basic block `BB`), we need to invalidate the LVI
   // information associated with BB, because the LVI information need not be
   // true for all of BB after the merge. For example,


        


More information about the llvm-commits mailing list