Re: [PATCH, rs6000] folding of vector stores in GIMPLE

2017-09-22 Thread Segher Boessenkool
On Fri, Sep 22, 2017 at 02:58:54PM -0500, Bill Schmidt wrote: > OK. Will, for now, let's again use the (void *) solution for the time being, > and > add commentary recording this improvement for future work. Same would > go for the vec_vsx_ld/st variations once you get to those. > > Otherwise t

Re: [PATCH, rs6000] folding of vector stores in GIMPLE

2017-09-22 Thread Bill Schmidt
On Sep 22, 2017, at 5:27 AM, Richard Biener wrote: > > On Thu, Sep 21, 2017 at 10:56 PM, Will Schmidt > wrote: >> Hi, >> >> Folding of vector stores in GIMPLE. >> >> - Add code to handle gimple folding for the vec_st (vector store) builtins. >> - Remove the now obsoleted folding code for vec_s

Re: [PATCH, rs6000] folding of vector stores in GIMPLE

2017-09-22 Thread Richard Biener
On Thu, Sep 21, 2017 at 10:56 PM, Will Schmidt wrote: > Hi, > > Folding of vector stores in GIMPLE. > > - Add code to handle gimple folding for the vec_st (vector store) builtins. > - Remove the now obsoleted folding code for vec_st from rs6000-c-c. > > There are two spots that I could use some fe

[PATCH, rs6000] folding of vector stores in GIMPLE

2017-09-21 Thread Will Schmidt
Hi, Folding of vector stores in GIMPLE. - Add code to handle gimple folding for the vec_st (vector store) builtins. - Remove the now obsoleted folding code for vec_st from rs6000-c-c. There are two spots that I could use some feedback on. First - An early exit remains in place pr