[PATCH] D26333: [AVX-512] Add unmasked version of shift by immediate and shift by single element in XMM.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 6 09:39:27 PST 2016


craig.topper created this revision.
craig.topper added reviewers: RKSimon, delena, zvi.
craig.topper added a subscriber: llvm-commits.

This is the first step towards being able to add the avx512 shift by immediate intrinsics to InstCombineCalls where we aleady support the sse2 and avx2 intrinsics. We need to the unmasked versions so we can avoid having to teach InstCombineCalls that it would need to insert selects sometimes. Instead we'll just add the selects around the new instrinsics in the frontend.

      

This change should also enable the shift by i32 intrinsics to take a non-constant shift value just like the avx2 and sse intrinsics. This will enable us to fix PR30691 once we update clang.


https://reviews.llvm.org/D26333

Files:
  include/llvm/IR/IntrinsicsX86.td
  lib/Target/X86/X86IntrinsicsInfo.h
  test/CodeGen/X86/avx512-intrinsics.ll
  test/CodeGen/X86/avx512bw-intrinsics.ll
  test/CodeGen/X86/avx512vl-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26333.76989.patch
Type: text/x-patch
Size: 18586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161106/d417e67c/attachment-0001.bin>


More information about the llvm-commits mailing list