Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit ae22fd9

Browse files
author
Michael Zolotukhin
committed
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302175 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 151fce6 commit ae22fd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Analysis/ScalarEvolution.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4124,7 +4124,7 @@ const SCEV *ScalarEvolution::createSimpleAffineAddRec(PHINode *PN,
41244124
ValueExprMap[SCEVCallbackVH(PN, this)] = PHISCEV;
41254125

41264126
// We can add Flags to the post-inc expression only if we
4127-
// know that it us *undefined behavior* for BEValueV to
4127+
// know that it is *undefined behavior* for BEValueV to
41284128
// overflow.
41294129
if (auto *BEInst = dyn_cast<Instruction>(BEValueV))
41304130
if (isLoopInvariant(Accum, L) && isAddRecNeverPoison(BEInst, L))
@@ -4245,7 +4245,7 @@ const SCEV *ScalarEvolution::createAddRecFromPHI(PHINode *PN) {
42454245
ValueExprMap[SCEVCallbackVH(PN, this)] = PHISCEV;
42464246

42474247
// We can add Flags to the post-inc expression only if we
4248-
// know that it us *undefined behavior* for BEValueV to
4248+
// know that it is *undefined behavior* for BEValueV to
42494249
// overflow.
42504250
if (auto *BEInst = dyn_cast<Instruction>(BEValueV))
42514251
if (isLoopInvariant(Accum, L) && isAddRecNeverPoison(BEInst, L))

0 commit comments

Comments
 (0)