[llvm] [NFC][TTI] Remove default CostKind from TTI::getMemoryOpCost() (PR #219070)
Hubert Tong via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 28 15:46:23 PDT 2026
================
@@ -1626,9 +1626,9 @@ class LowerMatrixIntrinsics {
InstructionCost EmbedCost(0);
// Roughly estimate the cost for embedding the columns into a vector.
for (unsigned I = 1; I < N; ++I)
- EmbedCost += TTI.getShuffleCost(
- TTI::SK_Splice, FixedVectorType::get(EltTy, 1),
- FixedVectorType::get(EltTy, 1), TTI::TCK_RecipThroughput);
+ EmbedCost +=
+ TTI.getShuffleCost(TTI::SK_Splice, FixedVectorType::get(EltTy, 1),
+ FixedVectorType::get(EltTy, 1), CostKind);
----------------
hubert-reinterpretcast wrote:
Is this really NFC? If not, there should be tests and the PR subject should not claim "NFC".
https://github.com/llvm/llvm-project/pull/219070
More information about the llvm-commits
mailing list