[PATCH][X86] Add peephole for masked rotate amount
anemet at apple.com
Mon Mar 3 17:15:15 PST 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2157 bytes
Desc: not available
More information about the llvm-commits