[all-commits] [llvm/llvm-project] 39e73e: [DAGcombine] Recognize fneg on RHS for partial_red...

Sander de Smalen via All-commits all-commits at lists.llvm.org
Mon Apr 27 08:50:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39e73ebff7fcccbfa064b1c73a33d91e44efa54e
      https://github.com/llvm/llvm-project/commit/39e73ebff7fcccbfa064b1c73a33d91e44efa54e
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/partial-reduction-sub-fp.ll

  Log Message:
  -----------
  [DAGcombine] Recognize fneg on RHS for partial_reduce_fmla (#193994)

PR #186809 recognized the negation on the fmul() expression, but after
instcombine the fneg is moved to the RHS operand, so with #186809 the
negation would not be recognized by the combine.

https://godbolt.org/z/YfoYshz78



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