[llvm] [X86] Support lowering of FMINIMUMNUM/FMAXIMUMNUM (PR #121464)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 5 00:50:34 PST 2025
================
@@ -15,7 +15,11 @@ entry:
define <2 x double> @max_nnan_v2f64(<2 x double> %a, <2 x double> %b) {
; AARCH64-LABEL: max_nnan_v2f64:
; AARCH64: // %bb.0: // %entry
-; AARCH64-NEXT: fmaxnm v0.2d, v0.2d, v1.2d
+; AARCH64-NEXT: mov d2, v1.d[1]
+; AARCH64-NEXT: mov d3, v0.d[1]
+; AARCH64-NEXT: fmaxnm d0, d0, d1
----------------
phoebewang wrote:
@arsenm No diff on AArch64 now, please take a second look at changes on AMDGPU. Thanks!
https://github.com/llvm/llvm-project/pull/121464
More information about the llvm-commits
mailing list