[llvm] 7b9f540 - [NFC][IndVarS] Adjust a comment

Daniil Suchkov via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 23:56:45 PST 2019


Author: Daniil Suchkov
Date: 2019-11-08T14:51:36+07:00
New Revision: 7b9f5401a61646f584249012de0be27ee0cb2b9b

URL: https://github.com/llvm/llvm-project/commit/7b9f5401a61646f584249012de0be27ee0cb2b9b
DIFF: https://github.com/llvm/llvm-project/commit/7b9f5401a61646f584249012de0be27ee0cb2b9b.diff

LOG: [NFC][IndVarS] Adjust a comment

(test commit)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index 6737c62e94b6..7f1e21e80356 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -2943,7 +2943,7 @@ bool IndVarSimplify::predicateLoopExits(Loop *L, SCEVExpander &Rewriter) {
   //    varying check.
   Rewriter.setInsertPoint(L->getLoopPreheader()->getTerminator());
   IRBuilder<> B(L->getLoopPreheader()->getTerminator());
-  Value *ExactBTCV = nullptr; //lazy generated if needed
+  Value *ExactBTCV = nullptr; // Lazily generated if needed.
   for (BasicBlock *ExitingBB : ExitingBlocks) {
     const SCEV *ExitCount = SE->getExitCount(L, ExitingBB);
 


        


More information about the llvm-commits mailing list