Fix a spello in a comment that Nick spotted.
[oota-llvm.git] / lib / Analysis / ScalarEvolution.cpp
index e1842eb4871ead5f0f4969e728992faa4c2e0fad..3a09f2f9d7b170892301fc124c7f8a03f80f2e32 100644 (file)
@@ -1460,7 +1460,7 @@ const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
                                              AddRec->op_end());
       AddRecOps[0] = getAddExpr(LIOps);
 
-      // It's tempting to propogate NUW/NSW flags here, but nuw/nsw addition
+      // It's tempting to propagate NUW/NSW flags here, but nuw/nsw addition
       // is not associative so this isn't necessarily safe.
       const SCEV *NewRec = getAddRecExpr(AddRecOps, AddRec->getLoop());
 
@@ -1639,7 +1639,7 @@ const SCEV *ScalarEvolution::getMulExpr(SmallVectorImpl<const SCEV *> &Ops,
         }
       }
 
-      // It's tempting to propogate the NSW flag here, but nsw multiplication
+      // It's tempting to propagate the NSW flag here, but nsw multiplication
       // is not associative so this isn't necessarily safe.
       const SCEV *NewRec = getAddRecExpr(NewOps, AddRec->getLoop());