[PATCH] D25650: [AVX-512] Add support for turning a 256-bit load that goes to both halfs of an insert_subvector into a subvector broadcast.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 15 22:17:38 PDT 2016


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

This builds on the existing support to do this for 128-bit loads into 256-bit vectors and generalizes it.

New patterns added to support 8-bit and 16-bit elements, v8f32->v16f32 without DQI instructions, and adding fallback for when the load can't be folded.


https://reviews.llvm.org/D25650

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86InstrAVX512.td
  test/CodeGen/X86/avx512-vbroadcasti256.ll
  test/CodeGen/X86/subvector-broadcast.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25650.74782.patch
Type: text/x-patch
Size: 18007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161016/cf7f794e/attachment.bin>


More information about the llvm-commits mailing list