[llvm] [RISCV][CodeGen][TTI]Use processShuffleMasks for cost estimations/actual per-register shuffles (PR #118103)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 30 04:22:50 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;
----------------
lukel97 wrote:
Is there a test for the RISC-V cost changes?
https://github.com/llvm/llvm-project/pull/118103
More information about the llvm-commits
mailing list