[PATCH] [X86] Add patterns for AVX2 VPMOV[SZ]XYrm intrinsics.

Ahmed Bougacha ahmed.bougacha at gmail.com
Tue Nov 4 16:21:07 PST 2014


Hi delena, craig.topper, qcolombet,

Title says all, there were a few of them missing, making us generate code like:

    movq  m64, xmm0
    vpmovzxbd   xmm0, ymm0

instead of:

   vpmovzxbd  m64, ymm0

I only glanced at the test results for non-AVX2, but them seemed correct.

http://reviews.llvm.org/D6125

Files:
  lib/Target/X86/X86InstrSSE.td
  test/CodeGen/X86/avx2-pmovxrm-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6125.15791.patch
Type: text/x-patch
Size: 9840 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141105/ef0cb538/attachment.bin>


More information about the llvm-commits mailing list