[PATCH] D113350: [X86][Costmodel] `getReplicationShuffleCost()`: implement cost model for 32/64 bit-wide elements with AVX512F

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 10 09:02:31 PST 2021


lebedev.ri updated this revision to Diff 386190.
lebedev.ri marked 2 inline comments as done.
lebedev.ri added a comment.

@RKSimon thanks for taking a look!
Dropped debug code, i've convinced myself that this is trivially true for AVX512 shuffles, given that the replication factor is integral.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113350/new/

https://reviews.llvm.org/D113350

Files:
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.h
  llvm/test/Analysis/CostModel/X86/shuffle-replication-i32.ll
  llvm/test/Analysis/CostModel/X86/shuffle-replication-i64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113350.386190.patch
Type: text/x-patch
Size: 75417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211110/ba117e7d/attachment-0001.bin>


More information about the llvm-commits mailing list