[llvm] [WebAssembly] Zero and NaN checks for min/max (PR #177968)
Sam Parker via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 27 01:12:01 PST 2026
================
@@ -1776,26 +1776,45 @@ defm SIMD_RELAXED_FMIN :
defm SIMD_RELAXED_FMAX :
RelaxedBinary<F64x2, int_wasm_relaxed_max, "relaxed_max", 0x110>;
+def relaxed_fminimumnum : SDNode<"WebAssemblyISD::RELAXED_FMIN", SDTFPBinOp>;
+def relaxed_fmaximumnum : SDNode<"WebAssemblyISD::RELAXED_FMAX", SDTFPBinOp>;
----------------
sparker-arm wrote:
Yes, I don't know why I haven't named them to match the ISD string.
https://github.com/llvm/llvm-project/pull/177968
More information about the llvm-commits
mailing list