aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-05-27 18:42:33 +0000
committerDan Gohman <gohman@apple.com>2011-05-27 18:42:33 +0000
commitcc1ffc6652e3ed42529037f9aaede4ac51d5e52f (patch)
tree8bf3c9425479491fa19af7f9590c6f0a14a03562
parent30a121b4e83c2bed062cc2d89f4b8fc354ac370e (diff)
Update this comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132202 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/IVUsers.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/IVUsers.cpp b/lib/Analysis/IVUsers.cpp
index 2fde73d952..a0c42f0cbf 100644
--- a/lib/Analysis/IVUsers.cpp
+++ b/lib/Analysis/IVUsers.cpp
@@ -152,7 +152,9 @@ bool IVUsers::AddUsersIfInteresting(Instruction *I, PHINode *Phi) {
// Okay, we found a user that we cannot reduce.
IVUses.push_back(new IVStrideUse(this, User, I, Phi));
IVStrideUse &NewUse = IVUses.back();
- // Transform the expression into a normalized form.
+ // Autodetect the post-inc loop set, populating NewUse.PostIncLoops.
+ // The regular return value here is discarded; instead of recording
+ // it, we just recompute it when we need it.
ISE = TransformForPostIncUse(NormalizeAutodetect,
ISE, User, I,
NewUse.PostIncLoops,