summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2017-05-04 17:42:34 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2017-05-04 17:42:34 +0000
commit3207d30fddbace150087655f17f286e135f4d68d (patch)
tree3025be07ac7926935a2a6840844e10a454583d9d
parent500e5122d368a23350e92f18c35223bf37d7de1f (diff)
downloadbcm5719-llvm-3207d30fddbace150087655f17f286e135f4d68d.tar.gz
bcm5719-llvm-3207d30fddbace150087655f17f286e135f4d68d.zip
Fix a typo.
llvm-svn: 302175
-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 38f740be9e4..8c5813a43c7 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -4124,7 +4124,7 @@ const SCEV *ScalarEvolution::createSimpleAffineAddRec(PHINode *PN,
ValueExprMap[SCEVCallbackVH(PN, this)] = PHISCEV;
// We can add Flags to the post-inc expression only if we
- // know that it us *undefined behavior* for BEValueV to
+ // know that it is *undefined behavior* for BEValueV to
// overflow.
if (auto *BEInst = dyn_cast<Instruction>(BEValueV))
if (isLoopInvariant(Accum, L) && isAddRecNeverPoison(BEInst, L))
@@ -4245,7 +4245,7 @@ const SCEV *ScalarEvolution::createAddRecFromPHI(PHINode *PN) {
ValueExprMap[SCEVCallbackVH(PN, this)] = PHISCEV;
// We can add Flags to the post-inc expression only if we
- // know that it us *undefined behavior* for BEValueV to
+ // know that it is *undefined behavior* for BEValueV to
// overflow.
if (auto *BEInst = dyn_cast<Instruction>(BEValueV))
if (isLoopInvariant(Accum, L) && isAddRecNeverPoison(BEInst, L))
OpenPOWER on IntegriCloud