[PATCH] rs6000: Delete the remaining vec_extract expanders.

Richard Henderson rth@redhat.com
Wed Oct 26 17:53:00 GMT 2011


On 10/25/2011 04:38 PM, Michael Meissner wrote:
> On Tue, Oct 25, 2011 at 03:01:37PM -0700, Richard Henderson wrote:
>> Now that expand_binop handles lowering vec_extract_even to vec_perm,
>> we can remove the last two unnecessary vec_extract patterns from the
>> Altivec backend.
>>
>> Ok?
> 
> Just to be sure, the lowering doesn't depend on -ftree-vectorize (i.e. in case
> people are using the buitlins).  I assume it doesn't.

No, this lowering happens during expansion to rtl, similar to NEG x -> SUB 0, x
and other expansion variants that optabs.c applies.


r~



More information about the Gcc-patches mailing list