summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff options
context:
space:
mode:
authorDaniil Suchkov <suc-daniil@yandex.ru>2019-11-08 14:51:36 +0700
committerDaniil Suchkov <suc-daniil@yandex.ru>2019-11-08 14:51:36 +0700
commit7b9f5401a61646f584249012de0be27ee0cb2b9b (patch)
tree755293eaa832d6144a95a0d5ade66152200e0adf /llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
parent72a21ad6c9cdbb41c8f17de2318fa469c013caef (diff)
downloadbcm5719-llvm-7b9f5401a61646f584249012de0be27ee0cb2b9b.tar.gz
bcm5719-llvm-7b9f5401a61646f584249012de0be27ee0cb2b9b.zip
[NFC][IndVarS] Adjust a comment
(test commit)
Diffstat (limited to 'llvm/lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index 6737c62e94b..7f1e21e8035 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);
OpenPOWER on IntegriCloud