[llvm] [VPlan] Don't reset canonical IV start value. (PR #161589)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 11 13:30:18 PDT 2025
================
@@ -431,6 +431,12 @@ m_c_Binary(const Op0_t &Op0, const Op1_t &Op1) {
return AllRecipe_commutative_match<Opcode, Op0_t, Op1_t>(Op0, Op1);
}
+template <typename Op0_t, typename Op1_t>
+inline AllRecipe_match<Instruction::Add, Op0_t, Op1_t> m_Add(const Op0_t &Op0,
+ const Op1_t &Op1) {
+ return m_Binary<Instruction::Add, Op0_t, Op1_t>(Op0, Op1);
+}
+
----------------
fhahn wrote:
Yep, can use the existing m_c_Add, removed the changes here, thanks
https://github.com/llvm/llvm-project/pull/161589
More information about the llvm-commits
mailing list