Skip to content

Commit 9cf2bb2

Browse files
committed
Fix atan2 arguments in aarch64-sve-vector-trig-ops.c
1 parent 44b3556 commit 9cf2bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Sema/aarch64-sve-vector-trig-ops.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ svfloat32_t test_atan_vv_i8mf8(svfloat32_t v) {
2424

2525
svfloat32_t test_atan2_vv_i8mf8(svfloat32_t v) {
2626

27-
return __builtin_elementwise_atan2(v);
27+
return __builtin_elementwise_atan2(v, v);
2828
// expected-error@-1 {{1st argument must be a vector, integer or floating point type}}
2929
}
3030

0 commit comments

Comments
 (0)