You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// A simple used,unused... macro, long enough to represent any SVE builtin.
@@ -23,6 +21,12 @@
23
21
#defineSVE_ACLE_FUNC(A1,A2,A3,A4) A1##A2##A3##A4
24
22
#endif
25
23
24
+
#ifndefTEST_SME2
25
+
#defineATTR
26
+
#else
27
+
#defineATTR __arm_streaming
28
+
#endif
29
+
26
30
// CHECK-LABEL: @test_qcvtn_s16_s32_x2(
27
31
// CHECK-NEXT: entry:
28
32
// CHECK-NEXT: [[TMP0:%.*]] = tail call <vscale x 4 x i32> @llvm.vector.extract.nxv4i32.nxv8i32(<vscale x 8 x i32> [[ZN:%.*]], i64 0)
@@ -37,7 +41,7 @@
37
41
// CPP-CHECK-NEXT: [[TMP2:%.*]] = tail call <vscale x 8 x i16> @llvm.aarch64.sve.sqcvtn.x2.nxv4i32(<vscale x 4 x i32> [[TMP0]], <vscale x 4 x i32> [[TMP1]])
38
42
// CPP-CHECK-NEXT: ret <vscale x 8 x i16> [[TMP2]]
// CPP-CHECK-NEXT: [[TMP2:%.*]] = tail call <vscale x 8 x i16> @llvm.aarch64.sve.uqcvtn.x2.nxv4i32(<vscale x 4 x i32> [[TMP0]], <vscale x 4 x i32> [[TMP1]])
56
60
// CPP-CHECK-NEXT: ret <vscale x 8 x i16> [[TMP2]]
// CPP-CHECK-NEXT: [[TMP2:%.*]] = tail call <vscale x 8 x i16> @llvm.aarch64.sve.sqcvtun.x2.nxv4i32(<vscale x 4 x i32> [[TMP0]], <vscale x 4 x i32> [[TMP1]])
74
78
// CPP-CHECK-NEXT: ret <vscale x 8 x i16> [[TMP2]]
0 commit comments