[llvm] [WebAssembly] Lower fmuladd to madd and nmadd (PR #161355)
    Derek Schuff via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct  7 15:35:09 PDT 2025
    
    
  
================
@@ -103,9 +136,8 @@ define <4 x float> @fmuladd_4xf32(<4 x float> %a, <4 x float> %b, <4 x float> %c
 ; RELAXED-LABEL: fmuladd_4xf32:
 ; RELAXED:         .functype fmuladd_4xf32 (v128, v128, v128) -> (v128)
 ; RELAXED-NEXT:  # %bb.0:
-; RELAXED-NEXT:    f32x4.mul $push0=, $0, $1
-; RELAXED-NEXT:    f32x4.add $push1=, $pop0, $2
----------------
dschuff wrote:
Thanks, I like this approach.
https://github.com/llvm/llvm-project/pull/161355
    
    
More information about the llvm-commits
mailing list