[PATCH][X86] Add peephole for masked rotate amount
Adam Nemet
anemet at apple.com
Wed Mar 12 14:28:58 PDT 2014
Thanks, Quentin. It’s r203718.
Adam
On Mar 12, 2014, at 12:54 PM, Quentin Colombet <qcolombet at apple.com> wrote:
> Hi Adam,
>
> This LGTM.
>
> Thanks,
> -Quentin
>
> On Mar 3, 2014, at 5:15 PM, Adam Nemet <anemet at apple.com> wrote:
>
>> Extend what's currently done for shift because the HW performs this masking
>> implicitly:
>>
>> (rotl:i32 x, (and y, 31)) -> (rotl:i32 x, y)
>>
>> I use the newly factored out multiclass that was only supporting shifts so
>> far.
>>
>> For testing I extended my testcase for the new rotation idiom.
>>
>> Adam
>>
>> <0006-X86-Add-peephole-for-masked-rotate-amount.patch>_______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140312/9bcea3b1/attachment.html>
More information about the llvm-commits
mailing list