[PATCH] [X86] Refactor PMOV[SZ]Xrm to add missing AVX2 patterns.

Ahmed Bougacha ahmed.bougacha at gmail.com
Wed Nov 5 17:53:31 PST 2014


I followed Elena's advice to use X86IntrinsicsInfo, and got a bit carried away: I removed the existing PMOVX intrinsic patterns, and unified them into only X86v[sz]ext patterns.

So let's just say this patch is about refactoring the PMOVX handling, which happens to add a few of the missing patterns.
If people don't like pattern multiclasses I also have the handwritten version (just adding the patterns in the right places), which I guess is easier to read.

http://reviews.llvm.org/D6125

Files:
  lib/Target/X86/X86InstrSSE.td
  lib/Target/X86/X86IntrinsicsInfo.h
  test/CodeGen/X86/avx2-pmovxrm-intrinsics.ll
  test/CodeGen/X86/vector-sext.ll
  test/CodeGen/X86/vector-zext.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6125.15837.patch
Type: text/x-patch
Size: 57097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141106/e67d1079/attachment.bin>


More information about the llvm-commits mailing list