File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
llvm/test/CodeGen/AArch64 Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 11; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
22; RUN: llc --mtriple=aarch64-linux-gnu < %s | FileCheck %s
33
4- define nofpclass(nzero) float @f (float noundef nofpclass(nan) %a , float noundef nofpclass(nan) %b ) {
4+ define nofpclass(nzero) float @f (float nofpclass(nan) %a , float nofpclass(nan) %b ) {
55; CHECK-LABEL: f:
66; CHECK: // %bb.0: // %entry
77; CHECK-NEXT: fmaxnm s0, s0, s1
@@ -10,3 +10,13 @@ entry:
1010 %cond = tail call float @llvm.maximumnum.f32 (float %a , float %b )
1111 ret float %cond
1212}
13+
14+ define <4 x float > @fv4f32 (<4 x float > nofpclass(nan) %a , <4 x float > nofpclass(nan) %b ) {
15+ ; CHECK-LABEL: fv4f32:
16+ ; CHECK: // %bb.0: // %entry
17+ ; CHECK-NEXT: fmaxnm v0.4s, v0.4s, v1.4s
18+ ; CHECK-NEXT: ret
19+ entry:
20+ %c = call <4 x float > @llvm.maximumnum.v4f32 (<4 x float > %a , <4 x float > %b )
21+ ret <4 x float > %c
22+ }
You can’t perform that action at this time.
0 commit comments