Re: [PATCH] Fix PR91975, tame PRE some more

2019-10-16 Thread Richard Biener
On Mon, 7 Oct 2019, Richard Biener wrote: > > The following tries to address the issue that PRE is quite happy > to introduce new IVs in loops just because it can compute some > constant value on the loop entry edge. In principle there's > already code that should work against that but it simply

[PATCH] Fix PR91975, tame PRE some more

2019-10-07 Thread Richard Biener
The following tries to address the issue that PRE is quite happy to introduce new IVs in loops just because it can compute some constant value on the loop entry edge. In principle there's already code that should work against that but it simply searches for a optimize_edge_for_speed () edge. Th