Re: [PATCH, rs6000] [v3] Folding of vector loads in GIMPLE

2017-09-15 Thread Segher Boessenkool
Hi Will, On Fri, Sep 15, 2017 at 09:59:54AM -0500, Will Schmidt wrote: > +/* Vector loads. */ > +case ALTIVEC_BUILTIN_LVX_V16QI: > +case ALTIVEC_BUILTIN_LVX_V8HI: > +case ALTIVEC_BUILTIN_LVX_V4SI: > +case ALTIVEC_BUILTIN_LVX_V4SF: > +case ALTIVEC_BUILTIN_LVX_V2DI: > +

[PATCH, rs6000] [v3] Folding of vector loads in GIMPLE

2017-09-15 Thread Will Schmidt
Hi, [PATCH, rs6000] [v3] Folding of vector loads in GIMPLE Folding of vector loads in GIMPLE. Add code to handle gimple folding for the vec_ld builtins. Remove the now obsoleted folding code for vec_ld from rs6000-c.c. Surrounding comments have been adjusted slightly so they continue