[PATCH] D113313: [NFC][TTI] Add/extract `getReplicationShuffleCost()` method, deduplicate it's implementations

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 15:15:00 PDT 2021


lebedev.ri added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/BasicTTIImpl.h:1117
+  InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor,
+                                            int VF, APInt DemandedSrcElts,
+                                            APInt DemandedReplicatedElts,
----------------
RKSimon wrote:
> Pass APInt args as const APInt &
D'oh.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113313



More information about the llvm-commits mailing list