[llvm] [VPlan] Replace PhiR operand of ComputeFindIVResult with VPIRFlags. #174026 (PR #175461)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 14 11:53:58 PST 2026


================
@@ -737,10 +741,10 @@ Value *VPInstruction::generate(VPTransformState &State) {
       MinMaxKind = IsSigned ? RecurKind::SMin : RecurKind::UMin;
     for (unsigned Part = 1; Part < UF; ++Part)
       ReducedPartRdx = createMinMaxOp(Builder, MinMaxKind, ReducedPartRdx,
-                                      State.get(getOperand(3 + Part)));
+                                      State.get(getOperand(2 + Part)));
 
----------------
fhahn wrote:

Yes I think so, although better done as follow-up?

https://github.com/llvm/llvm-project/pull/175461


More information about the llvm-commits mailing list