Re: [PATCH] Add late non-iterating FRE with optimize > 1

2019-07-01 Thread Richard Biener
On Thu, 27 Jun 2019, Richard Biener wrote: > > This fixes FREs handling of TARGET_MEM_REF (it didn't consider > &TARGET_MEM_REF) and adds a late FRE pass which has iteration > disabled and runs only at -O[2s]+ to limit the compile-time > impact. > > This helps cases where unrolling and vectoriza

[PATCH] Add late non-iterating FRE with optimize > 1

2019-06-27 Thread Richard Biener
This fixes FREs handling of TARGET_MEM_REF (it didn't consider &TARGET_MEM_REF) and adds a late FRE pass which has iteration disabled and runs only at -O[2s]+ to limit the compile-time impact. This helps cases where unrolling and vectorization exposes "piecewise" redundancies DOM cannot handle.