summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-11-20 13:47:59 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-11-20 13:47:59 +0000
commitf2fbf437047071a269da32512a2a395994b7c1f2 (patch)
treed675f216ecd3323f6f6ac74db849ce5b9d973591 /llvm/lib/Analysis/ScalarEvolution.cpp
parentdae11f7aabfd025547bd313e03f143a8092b8304 (diff)
downloadbcm5719-llvm-f2fbf437047071a269da32512a2a395994b7c1f2.tar.gz
bcm5719-llvm-f2fbf437047071a269da32512a2a395994b7c1f2.zip
Fix comment typos. NFC.
Identified by Pedro Giffuni in PR27636. llvm-svn: 287490
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 8de2c15160b..e12ef56bb75 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -6265,7 +6265,7 @@ ScalarEvolution::ExitLimit ScalarEvolution::computeShiftCompareExitLimit(
// %iv = phi i32 [ %iv.shifted, %loop ], [ %val, %preheader ]
// %iv.shifted = lshr i32 %iv, <positive constant>
//
- // Return true on a succesful match. Return the corresponding PHI node (%iv
+ // Return true on a successful match. Return the corresponding PHI node (%iv
// above) in PNOut and the opcode of the shift operation in OpCodeOut.
auto MatchShiftRecurrence =
[&](Value *V, PHINode *&PNOut, Instruction::BinaryOps &OpCodeOut) {
@@ -10366,7 +10366,7 @@ const SCEV *PredicatedScalarEvolution::getSCEV(Value *V) {
return Entry.second;
// We found an entry but it's stale. Rewrite the stale entry
- // acording to the current predicate.
+ // according to the current predicate.
if (Entry.second)
Expr = Entry.second;
OpenPOWER on IntegriCloud