[llvm] [LV] Vectorize early exit loops with multiple exits. (PR #174864)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 11 08:14:01 PST 2026
================
@@ -810,9 +810,13 @@ m_LogicalAnd(const Op0_t &Op0, const Op1_t &Op1) {
}
template <typename Op0_t, typename Op1_t>
-inline AllRecipe_match<Instruction::Select, Op0_t, specific_intval<1>, Op1_t>
+inline match_combine_or<
+ VPInstruction_match<VPInstruction::LogicalOr, Op0_t, Op1_t>,
+ AllRecipe_match<Instruction::Select, Op0_t, specific_intval<1>, Op1_t>>
----------------
lukel97 wrote:
I think we should just use auto for these complex return types
https://github.com/llvm/llvm-project/pull/174864
More information about the llvm-commits
mailing list