]> granicus.if.org Git - llvm/commitdiff
Fix a typo.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 4 May 2017 17:42:34 +0000 (17:42 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 4 May 2017 17:42:34 +0000 (17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302175 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 38f740be9e40aca78a8b59195b2aa3636e924e6b..8c5813a43c7c0ad8b457a22708d58d4a71d66830 100644 (file)
@@ -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))