[PATCH] D19198: [X86][AVX] Generalized matching for target shuffle combines

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue May 10 10:24:53 PDT 2016


RKSimon updated this revision to Diff 56746.
RKSimon added a comment.

Disabled target shuffle combines on 512-bit vector of when VLX is enabled and the combined vector element size is different to the root type of the combine as this would prevent writemasks being reused. I couldn't find an easy way to detect if a writemask was actually used so this restriction may turn out to be too harsh.

Elena - are you happy with this or would you prefer if I reduced this patch to just splitting out the original code (NFC)?


Repository:
  rL LLVM

http://reviews.llvm.org/D19198

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/vector-shuffle-combining-avx.ll
  test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19198.56746.patch
Type: text/x-patch
Size: 20520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160510/86e45dc6/attachment.bin>


More information about the llvm-commits mailing list