[llvm] [VPlan] Replace PhiR operand of ComputeRdxResult with VPIRFlags. (PR #174026)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 6 14:40:27 PST 2026
================
@@ -1339,20 +1349,17 @@ bool VPlanTransforms::handleMultiUseReductions(VPlan &Plan) {
if (MinMaxOpValue != CmpOpB)
Pred = CmpInst::getSwappedPredicate(Pred);
- // MinMaxPhiR must have exactly 3 users:
+ // MinMaxPhiR must have exactly 2 users:
// * MinMaxOp,
- // * Cmp (that's part of a FindLastIV chain),
- // * ComputeReductionResult.
- if (MinMaxPhiR->getNumUsers() != 3)
+ // * Cmp (that's part of a FindLastIV chain).
----------------
fhahn wrote:
Done thanks
https://github.com/llvm/llvm-project/pull/174026
More information about the llvm-commits
mailing list