mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
cleanup: misleading comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d4386efb7
commit
99a92f67c7
@ -1085,7 +1085,7 @@ void IndVarSimplify::SimplifyIVUsersNoRewrite(Loop *L, SCEVExpander &Rewriter) {
|
|||||||
// simplification on the wide IVs.
|
// simplification on the wide IVs.
|
||||||
while (!LoopPhis.empty()) {
|
while (!LoopPhis.empty()) {
|
||||||
// Evaluate as many IV expressions as possible before widening any IVs. This
|
// 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,
|
// extension. The first time SCEV attempts to normalize sign/zero extension,
|
||||||
// the result becomes final. So for the most predictable results, we delay
|
// the result becomes final. So for the most predictable results, we delay
|
||||||
// evaluation of sign/zero extend evaluation until needed, and avoid running
|
// 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
|
// Simplification works best when run before other consumers of SCEV. We
|
||||||
// attempt to avoid evaluating SCEVs for sign/zero extend operations until
|
// attempt to avoid evaluating SCEVs for sign/zero extend operations until
|
||||||
// other expressions involving loop IVs have been evaluated. This helps SCEV
|
// 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) {
|
if (DisableIVRewrite) {
|
||||||
Rewriter.disableCanonicalMode();
|
Rewriter.disableCanonicalMode();
|
||||||
SimplifyIVUsersNoRewrite(L, Rewriter);
|
SimplifyIVUsersNoRewrite(L, Rewriter);
|
||||||
|
Loading…
Reference in New Issue
Block a user