summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-26 20:28:35 +0000
committerAndrew Trick <atrick@apple.com>2012-03-26 20:28:35 +0000
commitd4e46a6316c8e1dc4623ead64b4cdd3dfb103180 (patch)
tree204d169df18aff17693caaa65cc0e4fd0430ceaa /lib/Transforms/Scalar/LoopStrengthReduce.cpp
parentde813b7108de64829ab006e6b998a7b38d119ecc (diff)
downloadllvm-d4e46a6316c8e1dc4623ead64b4cdd3dfb103180.tar.gz
llvm-d4e46a6316c8e1dc4623ead64b4cdd3dfb103180.tar.bz2
llvm-d4e46a6316c8e1dc4623ead64b4cdd3dfb103180.tar.xz
comment typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 60b7e62729..f2112446ad 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -2441,7 +2441,7 @@ void LSRInstance::ChainInstruction(Instruction *UserInst, Instruction *IVOper,
if (!isCompatibleIVType(PrevIV, NextIV))
continue;
- // A phi nodes terminates a chain.
+ // A phi node terminates a chain.
if (isa<PHINode>(UserInst)
&& isa<PHINode>(IVChainVec[ChainIdx].back().UserInst))
continue;