[llvm] [LV] Vectorize uncountable early exit store loops with combined conditions (PR #205109)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 06:14:32 PDT 2026
================
@@ -3005,6 +3005,119 @@ void VPlanTransforms::createInterleaveGroups(
}
}
+/// Matches an exit condition formed by comparing a value loaded from memory
+/// with a loop-invariant term. Binds the comparison for the condition.
+static auto m_Uncountable(VPValue *&Cond) {
+ return m_VPValue(
+ Cond,
+ m_c_Cmp(m_VPInstruction<Instruction::Load>(m_VPValue()), m_LiveIn()));
----------------
fhahn wrote:
It looks like `matchUncountableExitCondition` matches `m_c_ICmp`, should it also match `m_c_Cmp`?
https://github.com/llvm/llvm-project/pull/205109
More information about the llvm-commits
mailing list