Re: [PATCH] genmatch fix (PR tree-optimization/71563)

2017-01-02 Thread Richard Biener
On January 2, 2017 8:55:45 AM GMT+01:00, Jakub Jelinek wrote: >On Thu, Dec 29, 2016 at 10:18:34PM +0100, Jakub Jelinek wrote: >> On Tue, Dec 20, 2016 at 09:45:03PM +0100, Jakub Jelinek wrote: >> > That is what I tried first, but there is some bug in genmatch.c >that >> > prevents it. The: >> > (

Re: [PATCH] genmatch fix (PR tree-optimization/71563)

2017-01-01 Thread Jakub Jelinek
On Thu, Dec 29, 2016 at 10:18:34PM +0100, Jakub Jelinek wrote: > On Tue, Dec 20, 2016 at 09:45:03PM +0100, Jakub Jelinek wrote: > > That is what I tried first, but there is some bug in genmatch.c that > > prevents it. The: > > (for vec (VECTOR_CST CONSTRUCTOR) > > (simplify > >(shiftrotate

[PATCH] genmatch fix (PR tree-optimization/71563)

2016-12-29 Thread Jakub Jelinek
Hi! On Tue, Dec 20, 2016 at 09:45:03PM +0100, Jakub Jelinek wrote: > That is what I tried first, but there is some bug in genmatch.c that > prevents it. The: > (for vec (VECTOR_CST CONSTRUCTOR) > (simplify >(shiftrotate @0 vec@1) > results in case SSA_NAME: being added to a switch: > c