[all-commits] [llvm/llvm-project] 84ee9b: [VPlan] Bail out on chained reductions in handleMa...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Sep 14 14:28:59 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84ee9b56ba3947cacd3aff40c6dce622cc1bff6b
      https://github.com/llvm/llvm-project/commit/84ee9b56ba3947cacd3aff40c6dce622cc1bff6b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
    M llvm/test/Transforms/LoopVectorize/fmax-without-fast-math-flags.ll
    M llvm/test/Transforms/LoopVectorize/fmin-without-fast-math-flags.ll

  Log Message:
  -----------
  [VPlan] Bail out on chained reductions in handleMaxMinNumReductions. (#223521)

handleMaxMinNumReductions does not support reduction chains, as the NaN
check directly checks the operand of the single min/max reduction.

Bail out for now to fix a crash.

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



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