[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 21 05:32:59 PST 2025
================
@@ -992,3 +992,66 @@ bool VPlanTransforms::handleMaxMinNumReductions(VPlan &Plan) {
MiddleTerm->setOperand(0, NewCond);
return true;
}
+
+void VPlanTransforms::convertFindLastRecurrences(
+ VPlan &Plan, VPRecipeBuilder &RecipeBuilder) {
+ if (Plan.hasScalarVFOnly())
+ return;
----------------
fhahn wrote:
I think the scalar plan won't be correct without handling of masks below. It won't be used currently as interleaving is disabled, but can we discard it (return false here and return nullptr in the caller)?
https://github.com/llvm/llvm-project/pull/158088
More information about the llvm-commits
mailing list