[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
Sat Nov 6 15:52:01 PDT 2021


lebedev.ri updated this revision to Diff 385299.
lebedev.ri added a comment.

Ok, and implement the fast-path that assumes that all the non-trivial invariants hold,
but keep the original complex code in with-asserts mode and verify that results match.


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.385299.patch
Type: text/x-patch
Size: 78458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211106/41c0806f/attachment-0001.bin>


More information about the llvm-commits mailing list