diff options
author | Andrew Trick <atrick@apple.com> | 2011-06-28 16:45:04 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-06-28 16:45:04 +0000 |
commit | 99a92f67c7ee0d428e18f35c91311a2baba6c03e (patch) | |
tree | 10a7105fd17a55af8723678641490ad24c08a608 | |
parent | 8d4386efb777c639915b25a9cdc3d5978290044e (diff) | |
download | external_llvm-99a92f67c7ee0d428e18f35c91311a2baba6c03e.zip external_llvm-99a92f67c7ee0d428e18f35c91311a2baba6c03e.tar.gz external_llvm-99a92f67c7ee0d428e18f35c91311a2baba6c03e.tar.bz2 |
cleanup: misleading comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134010 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/IndVarSimplify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index a2f2490..8986dbb 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/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); |