[llvm] [RISCV] Add cost modeling for Zvzip 0.3 (PR #224991)
Ryan Buchner via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 20 22:10:32 PDT 2026
================
@@ -229,6 +229,26 @@ LLVM_ABI bool getShuffleDemandedElts(int SrcWidth, ArrayRef<int> Mask,
LLVM_ABI bool isMaskedSlidePair(ArrayRef<int> Mask, int NumElts,
std::array<std::pair<int, int>, 2> &SrcInfo);
+/// Given a shuffle which can be represented as a pair of two slides, return
----------------
bababuck wrote:
Is `VectorUtils.h` the best place for this? I don't know if should move these functions outside of `Target/RISCV` if they're still only being used by the `RISCV` backend.
https://github.com/llvm/llvm-project/pull/224991
More information about the llvm-commits
mailing list