projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a spello in a comment that Nick spotted.
[oota-llvm.git]
/
lib
/
Analysis
/
ScalarEvolution.cpp
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index e1842eb4871ead5f0f4969e728992faa4c2e0fad..3a09f2f9d7b170892301fc124c7f8a03f80f2e32 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-1460,7
+1460,7
@@
const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
AddRec->op_end());
AddRecOps[0] = getAddExpr(LIOps);
AddRec->op_end());
AddRecOps[0] = getAddExpr(LIOps);
- // It's tempting to prop
o
gate NUW/NSW flags here, but nuw/nsw addition
+ // It's tempting to prop
a
gate NUW/NSW flags here, but nuw/nsw addition
// is not associative so this isn't necessarily safe.
const SCEV *NewRec = getAddRecExpr(AddRecOps, AddRec->getLoop());
// 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 prop
o
gate the NSW flag here, but nsw multiplication
+ // It's tempting to prop
a
gate the NSW flag here, but nsw multiplication
// is not associative so this isn't necessarily safe.
const SCEV *NewRec = getAddRecExpr(NewOps, AddRec->getLoop());
// is not associative so this isn't necessarily safe.
const SCEV *NewRec = getAddRecExpr(NewOps, AddRec->getLoop());