[llvm] [RISCV][TTI] Add shuffle costing for masked slide lowering (PR #128537)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 10:21:10 PST 2025
================
@@ -413,6 +413,36 @@ bool llvm::getShuffleDemandedElts(int SrcWidth, ArrayRef<int> Mask,
return true;
}
+bool llvm::isMaskedSlidePair(ArrayRef<int> Mask, int NumElts,
----------------
topperc wrote:
Why did this need to move up to VectorUtils? Couldn't it stay in the RISCV backend?
https://github.com/llvm/llvm-project/pull/128537
More information about the llvm-commits
mailing list