Re: [PATCH] Improve rotate fold-const pattern matching (PR target/82498)

2017-10-13 Thread Richard Biener
On Fri, 13 Oct 2017, Marc Glisse wrote: > On Fri, 13 Oct 2017, Richard Biener wrote: > > > On Thu, 12 Oct 2017, Jakub Jelinek wrote: > > > > > Hi! > > > > > > Marc in the PR mentioned that it is not really good that the recommended > > > rotate pattern is recognized only during forwprop1 and

Re: [PATCH] Improve rotate fold-const pattern matching (PR target/82498)

2017-10-13 Thread Marc Glisse
On Fri, 13 Oct 2017, Richard Biener wrote: On Thu, 12 Oct 2017, Jakub Jelinek wrote: Hi! Marc in the PR mentioned that it is not really good that the recommended rotate pattern is recognized only during forwprop1 and later, which is after einline and that inlining or early opts could have

Re: [PATCH] Improve rotate fold-const pattern matching (PR target/82498)

2017-10-13 Thread Richard Biener
On Thu, 12 Oct 2017, Jakub Jelinek wrote: > Hi! > > Marc in the PR mentioned that it is not really good that the recommended > rotate pattern is recognized only during forwprop1 and later, which is after > einline and that inlining or early opts could have changed stuff too much so > that we

[PATCH] Improve rotate fold-const pattern matching (PR target/82498)

2017-10-12 Thread Jakub Jelinek
Hi! Marc in the PR mentioned that it is not really good that the recommended rotate pattern is recognized only during forwprop1 and later, which is after einline and that inlining or early opts could have changed stuff too much so that we wouldn't recogize it anymore. The following patch handles