* graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Mar 2009 23:04:03 +0000 (23:04 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Mar 2009 23:04:03 +0000 (23:04 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144627 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/graphite.c

index 333fd9d..1e8b568 100644 (file)
@@ -1,3 +1,7 @@
+2009-03-04  Zdenek Dvorak  <ook@ucw.cz>
+
+       * graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
+
 2009-03-04  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/39362
index 9b36284..58b67f4 100644 (file)
@@ -2364,7 +2364,7 @@ nb_reductions_in_loop (loop_p loop)
 
       scev = analyze_scalar_evolution (loop, PHI_RESULT (phi));
       scev = instantiate_parameters (loop, scev);
-      if (!simple_iv (loop, phi, PHI_RESULT (phi), &iv, true))
+      if (!simple_iv (loop, loop, PHI_RESULT (phi), &iv, true))
        res++;
     }