[llvm] r221313 - [X86][SSE] Enable commutation for SSE immediate blend instructions

Chandler Carruth chandlerc at google.com
Tue Nov 4 19:33:36 PST 2014


On Tue, Nov 4, 2014 at 5:25 PM, Simon Pilgrim <llvm-dev at redking.me.uk>
wrote:

> [X86][SSE] Enable commutation for SSE immediate blend instructions
>
> Patch to allow (v)blendps, (v)blendpd, (v)pblendw and vpblendd
> instructions to be commuted - swaps the src registers and inverts the blend
> mask.
>
> This is primarily to improve memory folding (see new tests), but it also
> improves the quality of shuffles (see modified tests).
>

Fantastic, and thank you for seeing this part through!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141104/dcfbe9ee/attachment.html>


More information about the llvm-commits mailing list