[all-commits] [llvm/llvm-project] b53adf: [VPlan] Always process all argmin/argmax reduction...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Mar 5 14:39:25 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b53adf42461f0d30eecddaca0fc00b57437e8313
      https://github.com/llvm/llvm-project/commit/b53adf42461f0d30eecddaca0fc00b57437e8313
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
    M llvm/test/Transforms/LoopVectorize/multiple-argmin-argmax.ll

  Log Message:
  -----------
  [VPlan] Always process all argmin/argmax reductions in plan.

Follow-up to https://github.com/llvm/llvm-project/pull/170223.
Instead of exiting early, continue processing remaining reductions in
the loop. This ensures all multi-use reductions are properly converted
or the plan is rejected if there are unconvertable patterns.

Fixes https://github.com/llvm/llvm-project/issues/184729.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list