projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de813b7
)
comment typo
author
Andrew Trick
<atrick@apple.com>
Mon, 26 Mar 2012 20:28:35 +0000
(20:28 +0000)
committer
Andrew Trick
<atrick@apple.com>
Mon, 26 Mar 2012 20:28:35 +0000
(20:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153462
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 60b7e62729aadfeecbc0e24f49f14a43ba106575..f2112446ade122563abd26eb28d909aecc73d711 100644
(file)
--- 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 node
s
terminates a chain.
+ // A phi node terminates a chain.
if (isa<PHINode>(UserInst)
&& isa<PHINode>(IVChainVec[ChainIdx].back().UserInst))
continue;