[AArch64] Redundant AllOne/AllZero patterns?

Chad Rosier mcrosier at codeaurora.org
Thu Nov 14 14:17:00 PST 2013


Done so in r194733.

>> def Neon_AllZero : PatFrag<(ops), (Neon_movi (i32 0), (i32 14))>;
>> def Neon_AllOne : PatFrag<(ops), (Neon_movi (i32 255), (i32 14))>;
>>
>> Are these redundant?  If so, which should we prefer?
>
> They look it. Personally, I prefer these newer ones, though some
> comment on these special numbers might be in order.
>
> Cheers.
>
> Tim.
>


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation




More information about the llvm-commits mailing list