Re: [PATCH] Fix gimple-loop-interchange ICE (PR tree-optimization/88964)

2019-01-24 Thread Richard Biener
On January 24, 2019 8:19:11 PM GMT+01:00, Jakub Jelinek wrote: >On Wed, Jan 23, 2019 at 09:23:53AM +0100, Richard Biener wrote: >> On Tue, 22 Jan 2019, Jakub Jelinek wrote: >> >> > Hi! >> > >> > SCEV can analyze not just integral/pointer IVs, but (scalar) float >ones as >> > well. Calling buil

Re: [PATCH] Fix gimple-loop-interchange ICE (PR tree-optimization/88964)

2019-01-24 Thread Jakub Jelinek
On Wed, Jan 23, 2019 at 09:23:53AM +0100, Richard Biener wrote: > On Tue, 22 Jan 2019, Jakub Jelinek wrote: > > > Hi! > > > > SCEV can analyze not just integral/pointer IVs, but (scalar) float ones as > > well. Calling build_int_cst on such types results in ICE, build_zero_cst > > works. Though

Re: [PATCH] Fix gimple-loop-interchange ICE (PR tree-optimization/88964)

2019-01-23 Thread Richard Biener
On Tue, 22 Jan 2019, Jakub Jelinek wrote: > Hi! > > SCEV can analyze not just integral/pointer IVs, but (scalar) float ones as > well. Calling build_int_cst on such types results in ICE, build_zero_cst > works. Though the loop invariant PHI IVs, if we represent them as using > +0.0 step, aren't

[PATCH] Fix gimple-loop-interchange ICE (PR tree-optimization/88964)

2019-01-22 Thread Jakub Jelinek
Hi! SCEV can analyze not just integral/pointer IVs, but (scalar) float ones as well. Calling build_int_cst on such types results in ICE, build_zero_cst works. Though the loop invariant PHI IVs, if we represent them as using +0.0 step, aren't correct if honoring signed zeros, as + 0.0 will make a