summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-06-28 16:45:04 +0000
committerAndrew Trick <atrick@apple.com>2011-06-28 16:45:04 +0000
commit4426f5b388a02406d2fec8cb98ac19ae310284a4 (patch)
tree06abf73ec81be3de042c8790a4c3bec4045ce7b2 /llvm
parent29cdc6bec023dbdc3cbc94c5ac84afa0295ae3fe (diff)
downloadbcm5719-llvm-4426f5b388a02406d2fec8cb98ac19ae310284a4.tar.gz
bcm5719-llvm-4426f5b388a02406d2fec8cb98ac19ae310284a4.zip
cleanup: misleading comment.
llvm-svn: 134010
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index a2f24900429..8986dbb7858 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -1085,7 +1085,7 @@ void IndVarSimplify::SimplifyIVUsersNoRewrite(Loop *L, SCEVExpander &Rewriter) {
// simplification on the wide IVs.
while (!LoopPhis.empty()) {
// Evaluate as many IV expressions as possible before widening any IVs. This
- // forces SCEV to propagate no-wrap flags before evaluating sign/zero
+ // forces SCEV to set no-wrap flags before evaluating sign/zero
// extension. The first time SCEV attempts to normalize sign/zero extension,
// the result becomes final. So for the most predictable results, we delay
// evaluation of sign/zero extend evaluation until needed, and avoid running
@@ -1176,7 +1176,7 @@ bool IndVarSimplify::runOnLoop(Loop *L, LPPassManager &LPM) {
// Simplification works best when run before other consumers of SCEV. We
// attempt to avoid evaluating SCEVs for sign/zero extend operations until
// other expressions involving loop IVs have been evaluated. This helps SCEV
- // propagate no-wrap flags before normalizing sign/zero extension.
+ // set no-wrap flags before normalizing sign/zero extension.
if (DisableIVRewrite) {
Rewriter.disableCanonicalMode();
SimplifyIVUsersNoRewrite(L, Rewriter);
OpenPOWER on IntegriCloud