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

Segher Boessenkool segher@kernel.crashing.org
Fri Sep 15 21:19:00 GMT 2017


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:
> +    case ALTIVEC_BUILTIN_LVX_V2DF:
> +      {
> +	 gimple *g;

This is only used much later (and for a short time only), so just declare
it there?

Other than that nit, looks fine to me.  Okay for trunk.  Thanks!


Segher



More information about the Gcc-patches mailing list