1 // RUN: %clang_cc1 -triple aarch64 -target-feature +f -target-feature +d \
2 // RUN: -target-feature +v -target-feature +zfh -target-feature +sve -target-feature +experimental-zvfh \
3 // RUN: -disable-O0-optnone -o - -fsyntax-only %s -verify
4 // REQUIRES: aarch64-registered-target
8 svfloat32_t
test_log_vv_i8mf8(svfloat32_t v
) {
10 return __builtin_elementwise_log(v
);
11 // expected-error@-1 {{1st argument must be a vector, integer or floating point type}}
14 svfloat32_t
test_log10_vv_i8mf8(svfloat32_t v
) {
16 return __builtin_elementwise_log10(v
);
17 // expected-error@-1 {{1st argument must be a vector, integer or floating point type}}
20 svfloat32_t
test_log2_vv_i8mf8(svfloat32_t v
) {
22 return __builtin_elementwise_log2(v
);
23 // expected-error@-1 {{1st argument must be a vector, integer or floating point type}}