[all-commits] [llvm/llvm-project] dd4b3b: [AMDGPU] Price only the fmul that fuses into an fa...

Gheorghe-Teodor Bercea via All-commits all-commits at lists.llvm.org
Thu Sep 24 07:46:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd4b3b7f0880c5bd15cea1867f0c4b30468fdd0c
      https://github.com/llvm/llvm-project/commit/dd4b3b7f0880c5bd15cea1867f0c4b30468fdd0c
  Author: Gheorghe-Teodor Bercea <gt.bercea at gmail.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AMDGPU/fused_costs.ll
    A llvm/test/Transforms/SLPVectorizer/AMDGPU/complex-mul-fma.ll

  Log Message:
  -----------
  [AMDGPU] Price only the fmul that fuses into an fadd/fsub as free (#226009)

An fadd/fsub with two fmul operands can fuse with only one of them into
an FMA. Currently they are both priced as if they are fused (i.e. free).



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