[llvm] [WebAssembly] Lower fmuladd to madd and nmadd (PR #161355)
Brendan Dahl via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 7 16:13:48 PDT 2025
================
@@ -317,6 +317,14 @@ WebAssemblyTargetLowering::WebAssemblyTargetLowering(
setOperationAction(ISD::ZERO_EXTEND_VECTOR_INREG, T, Custom);
}
+ if (Subtarget->hasRelaxedSIMD()) {
+ if (Subtarget->hasFP16()) {
----------------
brendandahl wrote:
I think so. IIRC, since we don't have a fp16 registers some of the instructions weren't considered legal and were expanded.
https://github.com/llvm/llvm-project/pull/161355
More information about the llvm-commits
mailing list