[llvm] [AMDGPU] Price only the fmul that fuses into an fadd/fsub as free (PR #226009)

Gheorghe-Teodor Bercea via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 05:56:23 PDT 2026


================
@@ -251,6 +251,90 @@ define void @fmul_fadd_f64(double %a, double %b, double %c, <2 x double> %va, <2
   ret void
 }
 
+define void @fmul_fmul_fadd_f32(float %a, float %b, float %c, float %d) #0 {
----------------
doru1004 wrote:

Good catch, fixed now.

https://github.com/llvm/llvm-project/pull/226009


More information about the llvm-commits mailing list