[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:48:43 PDT 2025


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

OK, great. if you look at the tests below, dow all of those conversion libcalls look like something we should be able to eventually lower to instructions?

not necessarily needed for this PR, but something for the future.

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


More information about the llvm-commits mailing list