[PATCH] D32805: [X86][AVX512] Properly handle scalar masking for constant masks

Guy Blank via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 07:18:45 PDT 2017


guyblank created this revision.

for scalar masked instructions only the lower bit of the mask is relevant. so for constant masks we should either do an unmasked operation or no operation, depending on the value of the lower bit.


https://reviews.llvm.org/D32805

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-intrinsics.ll
  test/CodeGen/X86/avx512-scalar_mask.ll
  test/CodeGen/X86/avx512er-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32805.97633.patch
Type: text/x-patch
Size: 10531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170503/52443e0f/attachment-0001.bin>


More information about the llvm-commits mailing list