[PATCH] D95779: [X86][AVX512] Support variable-index vector insertion on AVX512 targets
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 1 04:32:15 PST 2021
RKSimon created this revision.
RKSimon added reviewers: craig.topper, pengfei, spatel.
Herald added subscribers: arphaman, hiraditya.
RKSimon requested review of this revision.
Herald added a project: LLVM.
With predicate masks, AVX512 can efficiently perform variable-index vector insertion with 2 broadcasts + 1 comparison, avoiding a lot of aliased memory traffic.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95779
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512-insert-extract.ll
llvm/test/CodeGen/X86/insertelement-var-index.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95779.320437.patch
Type: text/x-patch
Size: 47580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210201/fe1d97c9/attachment.bin>
More information about the llvm-commits
mailing list