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
Copy file name to clipboardExpand all lines: clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ svuint32_t incompat_sve_sm(svbool_t pg, svuint32_t a, int16_t b) __arm_streaming
33
33
return__builtin_sve_svld1_gather_u32base_index_u32(pg, a, b);
34
34
}
35
35
36
-
// expected-warning@+1 {{passing/returning a VL-dependent argument from a arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
36
+
// expected-warning@+1 {{passing/returning a VL-dependent argument from a __arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
// expected-warning@+1 {{builtin call has undefined behaviour when called from a streaming function}}
39
39
return__builtin_sve_svld1_gather_u32base_index_u32(pg, a, b);
@@ -49,7 +49,7 @@ svuint32_t incompat_sve2_sm(svbool_t pg, svuint32_t a, int64_t b) __arm_streamin
49
49
return__builtin_sve_svldnt1_gather_u32base_index_u32(pg, a, b);
50
50
}
51
51
52
-
// expected-warning@+1 {{passing/returning a VL-dependent argument from a arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
52
+
// expected-warning@+1 {{passing/returning a VL-dependent argument from a __arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
// expected-warning@+1 {{builtin call has undefined behaviour when called from a streaming function}}
55
55
return__builtin_sve_svldnt1_gather_u32base_index_u32(pg, a, b);
@@ -70,7 +70,7 @@ svfloat64_t streaming_caller_sve(svbool_t pg, svfloat64_t a, float64_t b) __arm_
70
70
returnsvadd_n_f64_m(pg, a, b);
71
71
}
72
72
73
-
// expected-warning@+1 {{passing/returning a VL-dependent argument from a arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
73
+
// expected-warning@+1 {{passing/returning a VL-dependent argument from a __arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
// expected-warning@+1 {{passing/returning a VL-dependent argument from a arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
89
+
// expected-warning@+1 {{passing/returning a VL-dependent argument from a __arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
// expected-warning@+2 {{passing/returning a VL-dependent argument from a arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
516
-
// expected-cpp-warning@+1 {{passing/returning a VL-dependent argument from a arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
515
+
// expected-warning@+2 {{passing/returning a VL-dependent argument from a __arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
516
+
// expected-cpp-warning@+1 {{passing/returning a VL-dependent argument from a __arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
// expected-warning@+2 {{passing/returning a VL-dependent argument from a arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
520
-
// expected-cpp-warning@+1 {{passing/returning a VL-dependent argument from a arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
519
+
// expected-warning@+2 {{passing/returning a VL-dependent argument from a __arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
520
+
// expected-cpp-warning@+1 {{passing/returning a VL-dependent argument from a __arm_locally_streaming function. The streaming and non-streaming vector lengths may be different}}
0 commit comments