[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:44 PST 2021


lebedev.ri added inline comments.


================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.cpp:3632
+                                            DemandedReplicatedElts, CostKind);
+  };
+
----------------
RKSimon wrote:
> Is this really useful?
Spelling the exact same thing over and over seems bound to do it wrong at some point.
I can inline if you insist, but it seemed more concise this way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113350



More information about the llvm-commits mailing list