Fixup dumping of re-trying without/with single-lane SLP
The following fixes the order of decrementing the SLP mode and the dumping. * tree-vect-loop.cc (vect_analyze_loop_2): Derement 'slp' before dumping which stage we're starting.
This commit is contained in:
parent
f82055f824
commit
16cd00a100
1 changed files with 3 additions and 3 deletions
|
@ -3275,6 +3275,9 @@ again:
|
|||
}
|
||||
}
|
||||
|
||||
/* Roll back state appropriately. Degrade SLP this time. From multi-
|
||||
to single-lane to disabled. */
|
||||
--slp;
|
||||
if (dump_enabled_p ())
|
||||
{
|
||||
if (slp)
|
||||
|
@ -3285,9 +3288,6 @@ again:
|
|||
"re-trying with SLP disabled\n");
|
||||
}
|
||||
|
||||
/* Roll back state appropriately. Degrade SLP this time. From multi-
|
||||
to single-lane to disabled. */
|
||||
--slp;
|
||||
/* Restore vectorization factor as it were without SLP. */
|
||||
LOOP_VINFO_VECT_FACTOR (loop_vinfo) = saved_vectorization_factor;
|
||||
/* Free the SLP instances. */
|
||||
|
|
Loading…
Add table
Reference in a new issue