[llvm-commits] [llvm] r132202 - /llvm/trunk/lib/Analysis/IVUsers.cpp

Dan Gohman gohman at apple.com
Fri May 27 11:42:34 PDT 2011


Author: djg
Date: Fri May 27 13:42:33 2011
New Revision: 132202

URL: http://llvm.org/viewvc/llvm-project?rev=132202&view=rev
Log:
Update this comment.

Modified:
    llvm/trunk/lib/Analysis/IVUsers.cpp

Modified: llvm/trunk/lib/Analysis/IVUsers.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IVUsers.cpp?rev=132202&r1=132201&r2=132202&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IVUsers.cpp (original)
+++ llvm/trunk/lib/Analysis/IVUsers.cpp Fri May 27 13:42:33 2011
@@ -152,7 +152,9 @@
       // 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,





More information about the llvm-commits mailing list