[PATCH] [X86, AVX] instcombine common cases of vperm2* intrinsics into shuffles

Sanjay Patel spatel at rotateright.com
Fri Mar 20 13:31:53 PDT 2015


Patch updated based on feedback from Andrea:

1. Made the simplify function static - avoids header changes w/o adding any extra lines to the switch
2. Fixed comment regarding the zero mask case - will add that in a future patch
3. Moved some local variables closer to their usage
4. Added TODO for the equivalent AVX2 (integer) intrinsic


http://reviews.llvm.org/D8486

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/x86-vperm2.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8486.22373.patch
Type: text/x-patch
Size: 13033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ae8cbf8c/attachment.bin>


More information about the llvm-commits mailing list