[llvm-commits] [polly] r152908 - /polly/trunk/lib/IndVarSimplify.cpp

Hongbin Zheng etherzhhb at gmail.com
Fri Mar 16 01:26:12 PDT 2012


Author: ether
Date: Fri Mar 16 03:26:12 2012
New Revision: 152908

URL: http://llvm.org/viewvc/llvm-project?rev=152908&view=rev
Log:
IndVarSimplify: Adpat to IVUsers::AddUsersIfInteresting change.

Modified:
    polly/trunk/lib/IndVarSimplify.cpp

Modified: polly/trunk/lib/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/IndVarSimplify.cpp?rev=152908&r1=152907&r2=152908&view=diff
==============================================================================
--- polly/trunk/lib/IndVarSimplify.cpp (original)
+++ polly/trunk/lib/IndVarSimplify.cpp Fri Mar 16 03:26:12 2012
@@ -447,8 +447,10 @@
   }
 
   // Add a new IVUsers entry for the newly-created integer PHI.
-  if (IU)
-    IU->AddUsersIfInteresting(NewPHI);
+  if (IU) {
+    SmallPtrSet<Loop*,16> SimpleLoopNests;
+    IU->AddUsersIfInteresting(NewPHI, SimpleLoopNests);
+  }
 
   Changed = true;
 }





More information about the llvm-commits mailing list