[PATCH] D113479: [X86][Costmodel] `getReplicationShuffleCost()`: implement cost model for 8 bit-wide elements with AVX512VBMI
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 9 03:40:28 PST 2021
lebedev.ri created this revision.
lebedev.ri added reviewers: RKSimon, spatel, pengfei.
lebedev.ri added a project: LLVM.
Herald added a subscriber: hiraditya.
lebedev.ri requested review of this revision.
VBMI introduced VPERMB, so cost-model i8 replication shuffle using it.
Note that we can still model i8 replication shufflle without VBMI,
by promoting to i16/i32. That will be done in follow-ups.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113479
Files:
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/shuffle-replication-i8.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113479.385760.patch
Type: text/x-patch
Size: 277774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211109/5bea3218/attachment-0001.bin>
More information about the llvm-commits
mailing list