Skip to content

Commit

Permalink
Fix atan2 arguments in aarch64-sve-vector-trig-ops.c
Browse files Browse the repository at this point in the history
  • Loading branch information
tex3d committed Sep 10, 2024
1 parent 44b3556 commit 9cf2bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/Sema/aarch64-sve-vector-trig-ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ svfloat32_t test_atan_vv_i8mf8(svfloat32_t v) {

svfloat32_t test_atan2_vv_i8mf8(svfloat32_t v) {

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

Expand Down

0 comments on commit 9cf2bb2

Please sign in to comment.