[llvm] [RISCV][TTI]Use processShuffleMasks for cost estimations/actual per-register shuffles (PR #118103)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 13:20:46 PST 2024


================
@@ -389,6 +389,105 @@ InstructionCost RISCVTTIImpl::getShuffleCost(TTI::ShuffleKind Kind,
   // give a more accurate cost than falling back to generic scalable codegen.
   // TODO: Each of these cases hints at a modeling gap around scalable vectors.
   if (isa<FixedVectorType>(Tp)) {
+    MVT LegalVT = LT.second;
----------------
alexey-bataev wrote:

Added

https://github.com/llvm/llvm-project/pull/118103


More information about the llvm-commits mailing list