[patch] Simplify a vpermilps with constant mask

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Apr 11 04:54:07 PDT 2014


With a constant mask a vpermilps is just a shufflevector. The attached
patch implements the simplification. This allows us to produce denser
code. It should also allow more folding down the line.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140411/b2e225fa/attachment.obj>


More information about the llvm-commits mailing list