1 // RUN: %clang_cc1 -triple aarch64 -target-feature +sve \
2 // RUN: -disable-O0-optnone -o - -fsyntax-only %s -verify
3 // REQUIRES: aarch64-registered-target
8 svfloat32_t
test_sin_vv_i8mf8(svfloat32_t v
) {
10 return __builtin_elementwise_sin(v
);
11 // expected-error@-1 {{1st argument must be a vector, integer or floating point type}}
14 svfloat32_t
test_cos_vv_i8mf8(svfloat32_t v
) {
16 return __builtin_elementwise_cos(v
);
17 // expected-error@-1 {{1st argument must be a vector, integer or floating point type}}