[PATCH][X86] Add peephole for masked rotate amount
qcolombet at apple.com
Wed Mar 12 12:54:56 PDT 2014
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
> (rotl:i32 x, (and y, 31)) -> (rotl:i32 x, y)
> I use the newly factored out multiclass that was only supporting shifts so
> For testing I extended my testcase for the new rotation idiom.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits