[llvm] [VPlan] Use parameter packs for m_VPInstruction. NFC (PR #152272)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 6 03:00:58 PDT 2025
================
@@ -274,42 +268,20 @@ template <unsigned Opcode, typename... RecipeTys>
using ZeroOpRecipe_match =
Recipe_match<std::tuple<>, Opcode, false, RecipeTys...>;
-template <typename Op0_t, unsigned Opcode, typename... RecipeTys>
-using UnaryRecipe_match =
- Recipe_match<std::tuple<Op0_t>, Opcode, false, RecipeTys...>;
-
-template <typename Op0_t, unsigned Opcode>
-using UnaryVPInstruction_match =
- UnaryRecipe_match<Op0_t, Opcode, VPInstruction>;
-
template <unsigned Opcode>
using ZeroOpVPInstruction_match = ZeroOpRecipe_match<Opcode, VPInstruction>;
template <typename Op0_t, unsigned Opcode>
----------------
lukel97 wrote:
Should we go through and do the same for AllBinaryRecipe_match too
If we're going to do that I might as well see if I can get rid of those too, and just replace them with AllRecipe_match
https://github.com/llvm/llvm-project/pull/152272
More information about the llvm-commits
mailing list