[all-commits] [llvm/llvm-project] 83d02a: [DAGCombine] Do not gate a pre-legalization FADD f...

Dennis Duda via All-commits all-commits at lists.llvm.org
Fri Sep 11 11:21:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83d02acbcde4c84e448a4b1d52878b7bcf8ecf6f
      https://github.com/llvm/llvm-project/commit/83d02acbcde4c84e448a4b1d52878b7bcf8ecf6f
  Author: Dennis Duda <git at seri.tools>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/RISCV/fadd-fmul-dagcombine.ll

  Log Message:
  -----------
  [DAGCombine] Do not gate a pre-legalization FADD fold on FMUL legality (#218748)

Now follows the same check as `fold (fadd A, (fneg B)) -> (fsub A, B)`
and `fold (fadd (fneg A), B) -> (fsub B, A)` a few lines above

Co-authored-by: Claude (Claude-Opus-5) <noreply at anthropic.com>



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