[llvm] Add SD matchers and unit test coverage for ISD::VECTOR_SHUFFLE (PR #119592)

Aidan Goldfarb via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 14 10:32:23 PST 2024


================
@@ -226,6 +226,15 @@ inline SwitchContext<MatchContext, Pattern> m_Context(const MatchContext &Ctx,
   return SwitchContext<MatchContext, Pattern>{Ctx, std::move(P)};
 }
 
+struct m_Mask {
----------------
AidanGoldfarb wrote:

As the capture logic is moved inside `SDShuffle_match`, I think removing this is correct.

https://github.com/llvm/llvm-project/pull/119592


More information about the llvm-commits mailing list