[PATCH] [X86][AVX] Fix wrong lowering of VPERM2X128 nodes.

Andrea Di Biagio Andrea_DiBiagio at sn.scee.net
Sun Mar 8 09:14:53 PDT 2015


Hi Michael,

Here is a new version of the patch.
This time, we explicitly propagate permute index 0 (instead of SM_SentinelUndef) if we see that the resulting MaskLO/MaskHI would be undef.

Thanks,
Andrea


http://reviews.llvm.org/D8119

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx-vperm2x128.ll
  test/CodeGen/X86/vector-shuffle-512-v8.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8119.21453.patch
Type: text/x-patch
Size: 6231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150308/1fe064e2/attachment.bin>


More information about the llvm-commits mailing list