blob: cd0b5607d1e2a78d7a6a4cbe06413bdf80b4d5ad [file] [log] [blame] [edit]
// RUN: %clang_cc1 -triple aarch64 -target-feature +sve \
// RUN: -disable-O0-optnone -o - -fsyntax-only %s -verify
// REQUIRES: aarch64-registered-target
#include <arm_sve.h>
svfloat32_t test_log_vv_i8mf8(svfloat32_t v) {
return __builtin_elementwise_log(v);
// expected-error@-1 {{1st argument must be a scalar or vector of floating-point types}}
}
svfloat32_t test_log10_vv_i8mf8(svfloat32_t v) {
return __builtin_elementwise_log10(v);
// expected-error@-1 {{1st argument must be a scalar or vector of floating-point types}}
}
svfloat32_t test_log2_vv_i8mf8(svfloat32_t v) {
return __builtin_elementwise_log2(v);
// expected-error@-1 {{1st argument must be a scalar or vector of floating-point types}}
}