[llvm] [TTI][RISCV]Improve costs for whole vector reg extract/insert. (PR #80164)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 08:48:24 PST 2024
================
@@ -326,6 +326,18 @@ InstructionCost RISCVTTIImpl::getShuffleCost(TTI::ShuffleKind Kind,
switch (Kind) {
default:
break;
+ case TTI::SK_InsertSubvector:
+ if (auto *FSubTy = dyn_cast<FixedVectorType>(SubTp)) {
----------------
alexey-bataev wrote:
Ok, will co, tried to add an extra level of protection here
https://github.com/llvm/llvm-project/pull/80164
More information about the llvm-commits
mailing list