[llvm] Add matchers m_ExtractSubvector and m_InsertSubvector (PR #120212)
Thor Preimesberger via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 20:23:50 PST 2025
================
@@ -802,6 +808,12 @@ inline BinaryOpc_match<LHS, RHS> m_ExtractElt(const LHS &Vec, const RHS &Idx) {
return BinaryOpc_match<LHS, RHS>(ISD::EXTRACT_VECTOR_ELT, Vec, Idx);
}
+template <typename LHS, typename RHS>
+inline BinaryOpc_match<LHS, RHS> m_ExtractSubvector(const LHS &L,
+ const RHS &R) {
----------------
cheezeburglar wrote:
Done, in subsequent commit
https://github.com/llvm/llvm-project/pull/120212
More information about the llvm-commits
mailing list