[llvm] [RISCV][TTI] Refine reverse shuffle costing for high LMUL (PR #144155)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 13 17:17:44 PDT 2025
================
@@ -602,6 +602,15 @@ InstructionCost RISCVTTIImpl::getSlideCost(FixedVectorType *Tp,
return FirstSlideCost + SecondSlideCost + MaskCost;
}
+// Consolidate!
+static MVT getLMUL1VT(MVT VT) {
+ assert(VT.getVectorElementType().getSizeInBits() <= 64 &&
----------------
topperc wrote:
Should 64 here be RISCV::RVVBitsPerBlock?
https://github.com/llvm/llvm-project/pull/144155
More information about the llvm-commits
mailing list