graphite.c (nb_reductions_in_loop): Update simple_iv arguments.

* graphite.c (nb_reductions_in_loop): Update simple_iv arguments.

From-SVN: r144627
This commit is contained in:
Zdenek Dvorak 2009-03-05 00:04:03 +01:00 committed by Zdenek Dvorak
parent b505e785a3
commit 48f036062a
2 changed files with 5 additions and 1 deletions

View 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

View 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++;
}