2017-12-08 Richard Biener <rguenther@suse.de>
* gimple-loop-interchange.cc (tree_loop_interchange::interchange):
Provide -fopt-info-loop feedback when we interchange in a nest.
From-SVN: r255505
+2017-12-08 Richard Biener <rguenther@suse.de>
+
+ * gimple-loop-interchange.cc (tree_loop_interchange::interchange):
+ Provide -fopt-info-loop feedback when we interchange in a nest.
+
2017-06-08 Richard Earnshaw <rearnsha@arm.com>
* config/arm/driver-arm.c (arm_cpu_table): Use fp-capable product names
tree_loop_interchange::interchange (vec<data_reference_p> datarefs,
vec<ddr_p> ddrs)
{
+ location_t loc = find_loop_location (m_loop_nest[0]);
bool changed_p = false;
/* In each iteration we try to interchange I-th loop with (I+1)-th loop.
The overall effect is to push inner loop to outermost level in whole
oloop.m_loop->num, iloop.m_loop->num);
}
}
-
simple_dce_from_worklist (m_dce_seeds);
+
+ if (changed_p)
+ dump_printf_loc (MSG_OPTIMIZED_LOCATIONS, loc,
+ "loops interchanged in loop nest\n");
+
return changed_p;
}