[llvm] [WebAssembly] Lower fmuladd to madd and nmadd (PR #161355)

Brendan Dahl via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 15:44:39 PDT 2025


================
@@ -317,6 +317,14 @@ WebAssemblyTargetLowering::WebAssemblyTargetLowering(
       setOperationAction(ISD::ZERO_EXTEND_VECTOR_INREG, T, Custom);
     }
 
+    if (Subtarget->hasRelaxedSIMD()) {
+      if (Subtarget->hasFP16()) {
----------------
brendandahl wrote:

Yes, though they don't currently have the `relaxed` prefix in the spec. https://github.com/WebAssembly/half-precision/issues/5

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


More information about the llvm-commits mailing list