diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svaba_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svaba_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svaba_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_svaba_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_svaba_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_svaba_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_svaba_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_svaba_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_svaba_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_svaba_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_svaba_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_svaba_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_svaba_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_svaba_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_svaba_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_svaba_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaba'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaba_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaba,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svabalb_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svabalb_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svabalb_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint16_t test_svabalb_u16(svuint16_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint32_t test_svabalb_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint64_t test_svabalb_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint16_t test_svabalb_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint32_t test_svabalb_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint64_t test_svabalb_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint16_t test_svabalb_n_u16(svuint16_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint32_t test_svabalb_n_u32(svuint32_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_n_u32,,)(op1, op2, op3); } @@ -240,7 +216,5 @@ // svuint64_t test_svabalb_n_u64(svuint64_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalb,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svabalt_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svabalt_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svabalt_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint16_t test_svabalt_u16(svuint16_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint32_t test_svabalt_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint64_t test_svabalt_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint16_t test_svabalt_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint32_t test_svabalt_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint64_t test_svabalt_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint16_t test_svabalt_n_u16(svuint16_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint32_t test_svabalt_n_u32(svuint32_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_n_u32,,)(op1, op2, op3); } @@ -240,7 +216,5 @@ // svuint64_t test_svabalt_n_u64(svuint64_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svabalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabalt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabalt,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svabdlb_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svabdlb_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svabdlb_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svabdlb_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svabdlb_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svabdlb_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svabdlb_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svabdlb_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svabdlb_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svabdlb_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svabdlb_n_u32(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svabdlb_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svabdlt_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svabdlt_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svabdlt_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svabdlt_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svabdlt_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svabdlt_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svabdlt_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svabdlt_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svabdlt_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svabdlt_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svabdlt_n_u32(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svabdlt_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svabdlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svabdlt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svabdlt,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -33,8 +31,6 @@ // svint16_t test_svadalp_s16_z(svbool_t pg, svint16_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s16,_z,)(pg, op1, op2); } @@ -54,8 +50,6 @@ // svint32_t test_svadalp_s32_z(svbool_t pg, svint32_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s32,_z,)(pg, op1, op2); } @@ -75,8 +69,6 @@ // svint64_t test_svadalp_s64_z(svbool_t pg, svint64_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s64,_z,)(pg, op1, op2); } @@ -96,8 +88,6 @@ // svuint16_t test_svadalp_u16_z(svbool_t pg, svuint16_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u16,_z,)(pg, op1, op2); } @@ -117,8 +107,6 @@ // svuint32_t test_svadalp_u32_z(svbool_t pg, svuint32_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u32,_z,)(pg, op1, op2); } @@ -138,8 +126,6 @@ // svuint64_t test_svadalp_u64_z(svbool_t pg, svuint64_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u64,_z,)(pg, op1, op2); } @@ -157,8 +143,6 @@ // svint16_t test_svadalp_s16_m(svbool_t pg, svint16_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s16,_m,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svint32_t test_svadalp_s32_m(svbool_t pg, svint32_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s32,_m,)(pg, op1, op2); } @@ -195,8 +177,6 @@ // svint64_t test_svadalp_s64_m(svbool_t pg, svint64_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s64,_m,)(pg, op1, op2); } @@ -214,8 +194,6 @@ // svuint16_t test_svadalp_u16_m(svbool_t pg, svuint16_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u16,_m,)(pg, op1, op2); } @@ -233,8 +211,6 @@ // svuint32_t test_svadalp_u32_m(svbool_t pg, svuint32_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u32,_m,)(pg, op1, op2); } @@ -252,8 +228,6 @@ // svuint64_t test_svadalp_u64_m(svbool_t pg, svuint64_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u64,_m,)(pg, op1, op2); } @@ -271,8 +245,6 @@ // svint16_t test_svadalp_s16_x(svbool_t pg, svint16_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s16,_x,)(pg, op1, op2); } @@ -290,8 +262,6 @@ // svint32_t test_svadalp_s32_x(svbool_t pg, svint32_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s32,_x,)(pg, op1, op2); } @@ -309,8 +279,6 @@ // svint64_t test_svadalp_s64_x(svbool_t pg, svint64_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_s64,_x,)(pg, op1, op2); } @@ -328,8 +296,6 @@ // svuint16_t test_svadalp_u16_x(svbool_t pg, svuint16_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u16,_x,)(pg, op1, op2); } @@ -347,8 +313,6 @@ // svuint32_t test_svadalp_u32_x(svbool_t pg, svuint32_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u32,_x,)(pg, op1, op2); } @@ -366,7 +330,5 @@ // svuint64_t test_svadalp_u64_x(svbool_t pg, svuint64_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svadalp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadalp_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadalp,_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint32_t test_svadclb_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svadclb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadclb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadclb,_u32,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svuint64_t test_svadclb_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svadclb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadclb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadclb,_u64,,)(op1, op2, op3); } @@ -67,8 +61,6 @@ // svuint32_t test_svadclb_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svadclb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadclb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadclb,_n_u32,,)(op1, op2, op3); } @@ -88,7 +80,5 @@ // svuint64_t test_svadclb_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svadclb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadclb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadclb,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint32_t test_svadclt_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svadclt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadclt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadclt,_u32,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svuint64_t test_svadclt_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svadclt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadclt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadclt,_u64,,)(op1, op2, op3); } @@ -67,8 +61,6 @@ // svuint32_t test_svadclt_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svadclt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadclt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadclt,_n_u32,,)(op1, op2, op3); } @@ -88,7 +80,5 @@ // svuint64_t test_svadclt_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svadclt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svadclt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svadclt,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svaddhnb_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint16_t test_svaddhnb_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint32_t test_svaddhnb_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint8_t test_svaddhnb_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint16_t test_svaddhnb_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint32_t test_svaddhnb_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint8_t test_svaddhnb_n_s16(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint16_t test_svaddhnb_n_s32(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint32_t test_svaddhnb_n_s64(svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint8_t test_svaddhnb_n_u16(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint16_t test_svaddhnb_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint32_t test_svaddhnb_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svaddhnt_s16(svint8_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svaddhnt_s32(svint16_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svaddhnt_s64(svint32_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint8_t test_svaddhnt_u16(svuint8_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint16_t test_svaddhnt_u32(svuint16_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint32_t test_svaddhnt_u64(svuint32_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint8_t test_svaddhnt_n_s16(svint8_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint16_t test_svaddhnt_n_s32(svint16_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint32_t test_svaddhnt_n_s64(svint32_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint8_t test_svaddhnt_n_u16(svuint8_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint16_t test_svaddhnt_n_u32(svuint16_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_n_u32,,)(op1, op2, op3); } @@ -240,7 +216,5 @@ // svuint32_t test_svaddhnt_n_u64(svuint32_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svaddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddhnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddhnt,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svaddlb_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svaddlb_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svaddlb_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svaddlb_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svaddlb_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svaddlb_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svaddlb_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svaddlb_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svaddlb_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svaddlb_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svaddlb_n_u32(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svaddlb_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svaddlbt_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlbt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlbt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svaddlbt_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlbt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlbt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svaddlbt_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlbt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlbt,_s64,,)(op1, op2); } @@ -84,8 +76,6 @@ // svint16_t test_svaddlbt_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlbt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlbt,_n_s16,,)(op1, op2); } @@ -105,8 +95,6 @@ // svint32_t test_svaddlbt_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlbt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlbt,_n_s32,,)(op1, op2); } @@ -126,7 +114,5 @@ // svint64_t test_svaddlbt_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlbt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlbt,_n_s64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svaddlt_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svaddlt_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svaddlt_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svaddlt_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svaddlt_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svaddlt_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svaddlt_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svaddlt_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svaddlt_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svaddlt_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svaddlt_n_u32(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svaddlt_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddlt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddlt,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svaddp_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_s8,_m,)(pg, op1, op2); } @@ -48,8 +44,6 @@ // svint16_t test_svaddp_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_s16,_m,)(pg, op1, op2); } @@ -67,8 +61,6 @@ // svint32_t test_svaddp_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_s32,_m,)(pg, op1, op2); } @@ -86,8 +78,6 @@ // svint64_t test_svaddp_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_s64,_m,)(pg, op1, op2); } @@ -103,8 +93,6 @@ // svuint8_t test_svaddp_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_u8,_m,)(pg, op1, op2); } @@ -122,8 +110,6 @@ // svuint16_t test_svaddp_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_u16,_m,)(pg, op1, op2); } @@ -141,8 +127,6 @@ // svuint32_t test_svaddp_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_u32,_m,)(pg, op1, op2); } @@ -160,8 +144,6 @@ // svuint64_t test_svaddp_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_u64,_m,)(pg, op1, op2); } @@ -177,8 +159,6 @@ // svint8_t test_svaddp_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_s8,_x,)(pg, op1, op2); } @@ -196,8 +176,6 @@ // svint16_t test_svaddp_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_s16,_x,)(pg, op1, op2); } @@ -215,8 +193,6 @@ // svint32_t test_svaddp_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_s32,_x,)(pg, op1, op2); } @@ -234,8 +210,6 @@ // svint64_t test_svaddp_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_s64,_x,)(pg, op1, op2); } @@ -251,8 +225,6 @@ // svuint8_t test_svaddp_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_u8,_x,)(pg, op1, op2); } @@ -270,8 +242,6 @@ // svuint16_t test_svaddp_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_u16,_x,)(pg, op1, op2); } @@ -289,8 +259,6 @@ // svuint32_t test_svaddp_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_u32,_x,)(pg, op1, op2); } @@ -308,8 +276,6 @@ // svuint64_t test_svaddp_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_u64,_x,)(pg, op1, op2); } @@ -327,8 +293,6 @@ // svfloat16_t test_svaddp_f16_m(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_f16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_f16,_m,)(pg, op1, op2); } @@ -346,8 +310,6 @@ // svfloat32_t test_svaddp_f32_m(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_f32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_f32,_m,)(pg, op1, op2); } @@ -365,8 +327,6 @@ // svfloat64_t test_svaddp_f64_m(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_f64,_m,)(pg, op1, op2); } @@ -384,8 +344,6 @@ // svfloat16_t test_svaddp_f16_x(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_f16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_f16,_x,)(pg, op1, op2); } @@ -403,8 +361,6 @@ // svfloat32_t test_svaddp_f32_x(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_f32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_f32,_x,)(pg, op1, op2); } @@ -422,7 +378,5 @@ // svfloat64_t test_svaddp_f64_x(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddp_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddp,_f64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svaddwb_s16(svint16_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svaddwb_s32(svint32_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svaddwb_s64(svint64_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svaddwb_u16(svuint16_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svaddwb_u32(svuint32_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svaddwb_u64(svuint64_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svaddwb_n_s16(svint16_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svaddwb_n_s32(svint32_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svaddwb_n_s64(svint64_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svaddwb_n_u16(svuint16_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svaddwb_n_u32(svuint32_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svaddwb_n_u64(svuint64_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svaddwt_s16(svint16_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svaddwt_s32(svint32_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svaddwt_s64(svint64_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svaddwt_u16(svuint16_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svaddwt_u32(svuint32_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svaddwt_u64(svuint64_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svaddwt_n_s16(svint16_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svaddwt_n_s32(svint32_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svaddwt_n_s64(svint64_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svaddwt_n_u16(svuint16_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svaddwt_n_u32(svuint32_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svaddwt_n_u64(svuint64_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaddwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaddwt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaddwt,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,7 +27,5 @@ // svuint8_t test_svaesd_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaesd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaesd_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaesd,_u8,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,7 +27,5 @@ // svuint8_t test_svaese_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svaese'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaese_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaese,_u8,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,7 +27,5 @@ // svuint8_t test_svaesimc_u8(svuint8_t op) { - // overload-warning@+2 {{call to undeclared function 'svaesimc'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaesimc_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaesimc,_u8,,)(op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,7 +27,5 @@ // svuint8_t test_svaesmc_u8(svuint8_t op) { - // overload-warning@+2 {{call to undeclared function 'svaesmc'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svaesmc_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svaesmc,_u8,,)(op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svbcax_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svbcax_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svbcax_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_svbcax_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_svbcax_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_svbcax_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_svbcax_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_svbcax_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_svbcax_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_svbcax_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_svbcax_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_svbcax_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_svbcax_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_svbcax_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_svbcax_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_svbcax_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbcax'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbcax_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbcax,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint8_t test_svbdep_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbdep'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbdep_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbdep,_u8,,)(op1, op2); } @@ -46,8 +42,6 @@ // svuint16_t test_svbdep_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbdep'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbdep_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbdep,_u16,,)(op1, op2); } @@ -63,8 +57,6 @@ // svuint32_t test_svbdep_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbdep'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbdep_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbdep,_u32,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint64_t test_svbdep_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbdep'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbdep_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbdep,_u64,,)(op1, op2); } @@ -101,8 +91,6 @@ // svuint8_t test_svbdep_n_u8(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbdep'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbdep_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbdep,_n_u8,,)(op1, op2); } @@ -122,8 +110,6 @@ // svuint16_t test_svbdep_n_u16(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbdep'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbdep_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbdep,_n_u16,,)(op1, op2); } @@ -143,8 +129,6 @@ // svuint32_t test_svbdep_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbdep'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbdep_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbdep,_n_u32,,)(op1, op2); } @@ -164,7 +148,5 @@ // svuint64_t test_svbdep_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbdep'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbdep_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbdep,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint8_t test_svbext_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbext'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbext_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbext,_u8,,)(op1, op2); } @@ -46,8 +42,6 @@ // svuint16_t test_svbext_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbext'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbext_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbext,_u16,,)(op1, op2); } @@ -63,8 +57,6 @@ // svuint32_t test_svbext_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbext'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbext_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbext,_u32,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint64_t test_svbext_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbext'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbext_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbext,_u64,,)(op1, op2); } @@ -101,8 +91,6 @@ // svuint8_t test_svbext_n_u8(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbext'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbext_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbext,_n_u8,,)(op1, op2); } @@ -122,8 +110,6 @@ // svuint16_t test_svbext_n_u16(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbext'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbext_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbext,_n_u16,,)(op1, op2); } @@ -143,8 +129,6 @@ // svuint32_t test_svbext_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbext'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbext_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbext,_n_u32,,)(op1, op2); } @@ -164,7 +148,5 @@ // svuint64_t test_svbext_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbext'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbext_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbext,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-bitperm -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint8_t test_svbgrp_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbgrp'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbgrp_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbgrp,_u8,,)(op1, op2); } @@ -46,8 +42,6 @@ // svuint16_t test_svbgrp_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbgrp'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbgrp_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbgrp,_u16,,)(op1, op2); } @@ -63,8 +57,6 @@ // svuint32_t test_svbgrp_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbgrp'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbgrp_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbgrp,_u32,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint64_t test_svbgrp_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbgrp'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbgrp_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbgrp,_u64,,)(op1, op2); } @@ -101,8 +91,6 @@ // svuint8_t test_svbgrp_n_u8(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbgrp'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbgrp_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbgrp,_n_u8,,)(op1, op2); } @@ -122,8 +110,6 @@ // svuint16_t test_svbgrp_n_u16(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbgrp'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbgrp_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbgrp,_n_u16,,)(op1, op2); } @@ -143,8 +129,6 @@ // svuint32_t test_svbgrp_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbgrp'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbgrp_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbgrp,_n_u32,,)(op1, op2); } @@ -164,7 +148,5 @@ // svuint64_t test_svbgrp_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svbgrp'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbgrp_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbgrp,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svbsl_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svbsl_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svbsl_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_svbsl_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_svbsl_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_svbsl_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_svbsl_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_svbsl_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_svbsl_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_svbsl_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_svbsl_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_svbsl_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_svbsl_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_svbsl_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_svbsl_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_svbsl_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svbsl1n_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svbsl1n_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svbsl1n_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_svbsl1n_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_svbsl1n_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_svbsl1n_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_svbsl1n_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_svbsl1n_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_svbsl1n_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_svbsl1n_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_svbsl1n_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_svbsl1n_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_svbsl1n_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_svbsl1n_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_svbsl1n_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_svbsl1n_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl1n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl1n_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl1n,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svbsl2n_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svbsl2n_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svbsl2n_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_svbsl2n_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_svbsl2n_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_svbsl2n_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_svbsl2n_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_svbsl2n_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_svbsl2n_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_svbsl2n_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_svbsl2n_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_svbsl2n_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_svbsl2n_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_svbsl2n_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_svbsl2n_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_svbsl2n_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svbsl2n'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svbsl2n_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svbsl2n,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svcadd_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_s8,,)(op1, op2, 90); } @@ -46,8 +42,6 @@ // svint8_t test_svcadd_s8_1(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_s8,,)(op1, op2, 270); } @@ -63,8 +57,6 @@ // svint16_t test_svcadd_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_s16,,)(op1, op2, 90); } @@ -80,8 +72,6 @@ // svint16_t test_svcadd_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_s16,,)(op1, op2, 270); } @@ -97,8 +87,6 @@ // svint32_t test_svcadd_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_s32,,)(op1, op2, 90); } @@ -114,8 +102,6 @@ // svint32_t test_svcadd_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_s32,,)(op1, op2, 270); } @@ -131,8 +117,6 @@ // svint64_t test_svcadd_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_s64,,)(op1, op2, 90); } @@ -148,8 +132,6 @@ // svint64_t test_svcadd_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_s64,,)(op1, op2, 270); } @@ -165,8 +147,6 @@ // svuint8_t test_svcadd_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_u8,,)(op1, op2, 90); } @@ -182,8 +162,6 @@ // svuint8_t test_svcadd_u8_1(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_u8,,)(op1, op2, 270); } @@ -199,8 +177,6 @@ // svuint16_t test_svcadd_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_u16,,)(op1, op2, 90); } @@ -216,8 +192,6 @@ // svuint16_t test_svcadd_u16_1(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_u16,,)(op1, op2, 270); } @@ -233,8 +207,6 @@ // svuint32_t test_svcadd_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_u32,,)(op1, op2, 90); } @@ -250,8 +222,6 @@ // svuint32_t test_svcadd_u32_1(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_u32,,)(op1, op2, 270); } @@ -267,8 +237,6 @@ // svuint64_t test_svcadd_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_u64,,)(op1, op2, 90); } @@ -284,7 +252,5 @@ // svuint64_t test_svcadd_u64_1(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcadd_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcadd,_u64,,)(op1, op2, 270); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint32_t test_svcdot_s32(svint32_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot,_s32,,)(op1, op2, op3, 0); } @@ -46,8 +42,6 @@ // svint32_t test_svcdot_s32_1(svint32_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot,_s32,,)(op1, op2, op3, 90); } @@ -63,8 +57,6 @@ // svint32_t test_svcdot_s32_2(svint32_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot,_s32,,)(op1, op2, op3, 180); } @@ -80,8 +72,6 @@ // svint32_t test_svcdot_s32_3(svint32_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot,_s32,,)(op1, op2, op3, 270); } @@ -97,8 +87,6 @@ // svint64_t test_svcdot_s64(svint64_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot,_s64,,)(op1, op2, op3, 0); } @@ -114,8 +102,6 @@ // svint64_t test_svcdot_s64_1(svint64_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot,_s64,,)(op1, op2, op3, 90); } @@ -131,8 +117,6 @@ // svint64_t test_svcdot_s64_2(svint64_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot,_s64,,)(op1, op2, op3, 180); } @@ -148,8 +132,6 @@ // svint64_t test_svcdot_s64_3(svint64_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot,_s64,,)(op1, op2, op3, 270); } @@ -165,8 +147,6 @@ // svint32_t test_svcdot_lane_s32(svint32_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot_lane,_s32,,)(op1, op2, op3, 0, 0); } @@ -182,8 +162,6 @@ // svint32_t test_svcdot_lane_s32_1(svint32_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot_lane,_s32,,)(op1, op2, op3, 2, 90); } @@ -199,7 +177,5 @@ // svint64_t test_svcdot_lane_s64(svint64_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svcdot_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcdot_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcdot_lane,_s64,,)(op1, op2, op3, 0, 180); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c @@ -3,7 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error -verify-ignore-unexpected=note %s // REQUIRES: aarch64-registered-target @@ -28,7 +27,6 @@ // svint8_t test_svcmla_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s8,,)(op1, op2, op3, 0); } @@ -44,7 +42,6 @@ // svint8_t test_svcmla_s8_1(svint8_t op1, svint8_t op2, svint8_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s8,,)(op1, op2, op3, 90); } @@ -60,7 +57,6 @@ // svint8_t test_svcmla_s8_2(svint8_t op1, svint8_t op2, svint8_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s8,,)(op1, op2, op3, 180); } @@ -76,7 +72,6 @@ // svint8_t test_svcmla_s8_3(svint8_t op1, svint8_t op2, svint8_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s8,,)(op1, op2, op3, 270); } @@ -92,7 +87,6 @@ // svint16_t test_svcmla_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s16,,)(op1, op2, op3, 0); } @@ -108,7 +102,6 @@ // svint16_t test_svcmla_s16_1(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s16,,)(op1, op2, op3, 90); } @@ -124,7 +117,6 @@ // svint16_t test_svcmla_s16_2(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s16,,)(op1, op2, op3, 180); } @@ -140,7 +132,6 @@ // svint16_t test_svcmla_s16_3(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s16,,)(op1, op2, op3, 270); } @@ -156,7 +147,6 @@ // svint32_t test_svcmla_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s32,,)(op1, op2, op3, 0); } @@ -172,7 +162,6 @@ // svint32_t test_svcmla_s32_1(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s32,,)(op1, op2, op3, 90); } @@ -188,7 +177,6 @@ // svint32_t test_svcmla_s32_2(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s32,,)(op1, op2, op3, 180); } @@ -204,7 +192,6 @@ // svint32_t test_svcmla_s32_3(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s32,,)(op1, op2, op3, 270); } @@ -220,7 +207,6 @@ // svint64_t test_svcmla_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s64,,)(op1, op2, op3, 0); } @@ -236,7 +222,6 @@ // svint64_t test_svcmla_s64_1(svint64_t op1, svint64_t op2, svint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s64,,)(op1, op2, op3, 90); } @@ -252,7 +237,6 @@ // svint64_t test_svcmla_s64_2(svint64_t op1, svint64_t op2, svint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s64,,)(op1, op2, op3, 180); } @@ -268,7 +252,6 @@ // svint64_t test_svcmla_s64_3(svint64_t op1, svint64_t op2, svint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_s64,,)(op1, op2, op3, 270); } @@ -284,7 +267,6 @@ // svuint8_t test_svcmla_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u8,,)(op1, op2, op3, 0); } @@ -300,7 +282,6 @@ // svuint8_t test_svcmla_u8_1(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u8,,)(op1, op2, op3, 90); } @@ -316,7 +297,6 @@ // svuint8_t test_svcmla_u8_2(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u8,,)(op1, op2, op3, 180); } @@ -332,7 +312,6 @@ // svuint8_t test_svcmla_u8_3(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u8,,)(op1, op2, op3, 270); } @@ -348,7 +327,6 @@ // svuint16_t test_svcmla_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u16,,)(op1, op2, op3, 0); } @@ -364,7 +342,6 @@ // svuint16_t test_svcmla_u16_1(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u16,,)(op1, op2, op3, 90); } @@ -380,7 +357,6 @@ // svuint16_t test_svcmla_u16_2(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u16,,)(op1, op2, op3, 180); } @@ -396,7 +372,6 @@ // svuint16_t test_svcmla_u16_3(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u16,,)(op1, op2, op3, 270); } @@ -412,7 +387,6 @@ // svuint32_t test_svcmla_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u32,,)(op1, op2, op3, 0); } @@ -428,7 +402,6 @@ // svuint32_t test_svcmla_u32_1(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u32,,)(op1, op2, op3, 90); } @@ -444,7 +417,6 @@ // svuint32_t test_svcmla_u32_2(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u32,,)(op1, op2, op3, 180); } @@ -460,7 +432,6 @@ // svuint32_t test_svcmla_u32_3(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u32,,)(op1, op2, op3, 270); } @@ -476,7 +447,6 @@ // svuint64_t test_svcmla_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u64,,)(op1, op2, op3, 0); } @@ -492,7 +462,6 @@ // svuint64_t test_svcmla_u64_1(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u64,,)(op1, op2, op3, 90); } @@ -508,7 +477,6 @@ // svuint64_t test_svcmla_u64_2(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u64,,)(op1, op2, op3, 180); } @@ -524,7 +492,6 @@ // svuint64_t test_svcmla_u64_3(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla,_u64,,)(op1, op2, op3, 270); } @@ -540,7 +507,6 @@ // svint16_t test_svcmla_lane_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla_lane,_s16,,)(op1, op2, op3, 0, 90); } @@ -556,7 +522,6 @@ // svint16_t test_svcmla_lane_s16_1(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla_lane,_s16,,)(op1, op2, op3, 3, 180); } @@ -572,7 +537,6 @@ // svint32_t test_svcmla_lane_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla_lane,_s32,,)(op1, op2, op3, 0, 270); } @@ -588,7 +552,6 @@ // svint32_t test_svcmla_lane_s32_1(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla_lane,_s32,,)(op1, op2, op3, 1, 0); } @@ -604,7 +567,6 @@ // svuint16_t test_svcmla_lane_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_lane_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla_lane,_u16,,)(op1, op2, op3, 0, 90); } @@ -620,7 +582,6 @@ // svuint16_t test_svcmla_lane_u16_1(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_lane_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla_lane,_u16,,)(op1, op2, op3, 3, 180); } @@ -636,7 +597,6 @@ // svuint32_t test_svcmla_lane_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla_lane,_u32,,)(op1, op2, op3, 0, 270); } @@ -652,6 +612,5 @@ // svuint32_t test_svcmla_lane_u32_1(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svcmla_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcmla_lane,_u32,,)(op1, op2, op3, 1, 0); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svfloat32_t test_svcvtlt_f32_f16_m(svfloat32_t inactive, svbool_t pg, svfloat16_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtlt_f32_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtlt_f32_f16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtlt_f32,_f16,_m,)(inactive, pg, op); } @@ -50,8 +46,6 @@ // svfloat64_t test_svcvtlt_f64_f32_m(svfloat64_t inactive, svbool_t pg, svfloat32_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtlt_f64_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtlt_f64_f32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtlt_f64,_f32,_m,)(inactive, pg, op); } @@ -69,8 +63,6 @@ // svfloat32_t test_svcvtlt_f32_f16_x(svbool_t pg, svfloat16_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtlt_f32_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtlt_f32_f16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtlt_f32,_f16,_x,)(pg, op); } @@ -88,7 +80,5 @@ // svfloat64_t test_svcvtlt_f64_f32_x(svbool_t pg, svfloat32_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtlt_f64_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtlt_f64_f32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtlt_f64,_f32,_x,)(pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svfloat16_t test_svcvtnt_f16_f32_m(svfloat16_t inactive, svbool_t pg, svfloat32_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtnt_f16_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtnt_f16_f32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtnt_f16,_f32,_m,)(inactive, pg, op); } @@ -50,8 +46,6 @@ // svfloat32_t test_svcvtnt_f32_f64_m(svfloat32_t inactive, svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtnt_f32_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtnt_f32_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtnt_f32,_f64,_m,)(inactive, pg, op); } @@ -69,8 +63,6 @@ // svfloat16_t test_svcvtnt_f16_f32_x(svfloat16_t even, svbool_t pg, svfloat32_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtnt_f16_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtnt_f16_f32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtnt_f16,_f32,_x,)(even, pg, op); } @@ -88,7 +80,5 @@ // svfloat32_t test_svcvtnt_f32_f64_x(svfloat32_t even, svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtnt_f32_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtnt_f32_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtnt_f32,_f64,_x,)(even, pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svfloat32_t test_svcvtx_f32_f64_z(svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtx_f32_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtx_f32_f64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtx_f32,_f64,_z,)(pg, op); } @@ -50,8 +46,6 @@ // svfloat32_t test_svcvtx_f32_f64_m(svfloat32_t inactive, svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtx_f32_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtx_f32_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtx_f32,_f64,_m,)(inactive, pg, op); } @@ -69,7 +63,5 @@ // svfloat32_t test_svcvtx_f32_f64_x(svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtx_f32_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtx_f32_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtx_f32,_f64,_x,)(pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svfloat32_t test_svcvtxnt_f32_f64_m(svfloat32_t inactive, svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtxnt_f32_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtxnt_f32_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtxnt_f32,_f64,_m,)(inactive, pg, op); } @@ -50,7 +46,5 @@ // svfloat32_t test_svcvtxnt_f32_f64_x(svfloat32_t even, svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svcvtxnt_f32_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svcvtxnt_f32_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svcvtxnt_f32,_f64,_x,)(even, pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_sveor3_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_sveor3_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_sveor3_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_sveor3_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_sveor3_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_sveor3_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_sveor3_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_sveor3_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_sveor3_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_sveor3_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_sveor3_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_sveor3_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_sveor3_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_sveor3_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_sveor3_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_sveor3_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveor3'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveor3_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveor3,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_sveorbt_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_sveorbt_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_sveorbt_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_sveorbt_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_sveorbt_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_sveorbt_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_sveorbt_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_sveorbt_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_sveorbt_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_sveorbt_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_sveorbt_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_sveorbt_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_sveorbt_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_sveorbt_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_sveorbt_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_sveorbt_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveorbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveorbt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveorbt,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_sveortb_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_sveortb_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_sveortb_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_sveortb_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_sveortb_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_sveortb_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_sveortb_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_sveortb_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_sveortb_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_sveortb_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_sveortb_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_sveortb_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_sveortb_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_sveortb_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_sveortb_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_sveortb_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'sveortb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'sveortb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(sveortb,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svhadd_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s8,_m,)(pg, op1, op2); } @@ -48,8 +44,6 @@ // svint16_t test_svhadd_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s16,_m,)(pg, op1, op2); } @@ -67,8 +61,6 @@ // svint32_t test_svhadd_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s32,_m,)(pg, op1, op2); } @@ -86,8 +78,6 @@ // svint64_t test_svhadd_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s64,_m,)(pg, op1, op2); } @@ -103,8 +93,6 @@ // svuint8_t test_svhadd_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u8,_m,)(pg, op1, op2); } @@ -122,8 +110,6 @@ // svuint16_t test_svhadd_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u16,_m,)(pg, op1, op2); } @@ -142,8 +128,6 @@ svuint32_t test_svhadd_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svhadd_u32_m - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u32,_m,)(pg, op1, op2); } @@ -161,8 +145,6 @@ // svuint64_t test_svhadd_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u64,_m,)(pg, op1, op2); } @@ -182,8 +164,6 @@ // svint8_t test_svhadd_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s8,_m,)(pg, op1, op2); } @@ -205,8 +185,6 @@ // svint16_t test_svhadd_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s16,_m,)(pg, op1, op2); } @@ -228,8 +206,6 @@ // svint32_t test_svhadd_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s32,_m,)(pg, op1, op2); } @@ -251,8 +227,6 @@ // svint64_t test_svhadd_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s64,_m,)(pg, op1, op2); } @@ -272,8 +246,6 @@ // svuint8_t test_svhadd_n_u8_m(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u8,_m,)(pg, op1, op2); } @@ -295,8 +267,6 @@ // svuint16_t test_svhadd_n_u16_m(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u16,_m,)(pg, op1, op2); } @@ -318,8 +288,6 @@ // svuint32_t test_svhadd_n_u32_m(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u32,_m,)(pg, op1, op2); } @@ -341,8 +309,6 @@ // svuint64_t test_svhadd_n_u64_m(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u64,_m,)(pg, op1, op2); } @@ -360,8 +326,6 @@ // svint8_t test_svhadd_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s8,_z,)(pg, op1, op2); } @@ -381,8 +345,6 @@ // svint16_t test_svhadd_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s16,_z,)(pg, op1, op2); } @@ -402,8 +364,6 @@ // svint32_t test_svhadd_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s32,_z,)(pg, op1, op2); } @@ -423,8 +383,6 @@ // svint64_t test_svhadd_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s64,_z,)(pg, op1, op2); } @@ -442,8 +400,6 @@ // svuint8_t test_svhadd_u8_z(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u8,_z,)(pg, op1, op2); } @@ -463,8 +419,6 @@ // svuint16_t test_svhadd_u16_z(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u16,_z,)(pg, op1, op2); } @@ -485,8 +439,6 @@ svuint32_t test_svhadd_u32_z(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svhadd_u32_z - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u32,_z,)(pg, op1, op2); } @@ -506,8 +458,6 @@ // svuint64_t test_svhadd_u64_z(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u64,_z,)(pg, op1, op2); } @@ -529,8 +479,6 @@ // svint8_t test_svhadd_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s8,_z,)(pg, op1, op2); } @@ -554,8 +502,6 @@ // svint16_t test_svhadd_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s16,_z,)(pg, op1, op2); } @@ -579,8 +525,6 @@ // svint32_t test_svhadd_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s32,_z,)(pg, op1, op2); } @@ -604,8 +548,6 @@ // svint64_t test_svhadd_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s64,_z,)(pg, op1, op2); } @@ -627,8 +569,6 @@ // svuint8_t test_svhadd_n_u8_z(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u8,_z,)(pg, op1, op2); } @@ -652,8 +592,6 @@ // svuint16_t test_svhadd_n_u16_z(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u16,_z,)(pg, op1, op2); } @@ -677,8 +615,6 @@ // svuint32_t test_svhadd_n_u32_z(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u32,_z,)(pg, op1, op2); } @@ -702,8 +638,6 @@ // svuint64_t test_svhadd_n_u64_z(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u64,_z,)(pg, op1, op2); } @@ -719,8 +653,6 @@ // svint8_t test_svhadd_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s8,_x,)(pg, op1, op2); } @@ -738,8 +670,6 @@ // svint16_t test_svhadd_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s16,_x,)(pg, op1, op2); } @@ -757,8 +687,6 @@ // svint32_t test_svhadd_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s32,_x,)(pg, op1, op2); } @@ -776,8 +704,6 @@ // svint64_t test_svhadd_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_s64,_x,)(pg, op1, op2); } @@ -793,8 +719,6 @@ // svuint8_t test_svhadd_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u8,_x,)(pg, op1, op2); } @@ -812,8 +736,6 @@ // svuint16_t test_svhadd_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u16,_x,)(pg, op1, op2); } @@ -832,8 +754,6 @@ svuint32_t test_svhadd_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svhadd_u32_x - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u32,_x,)(pg, op1, op2); } @@ -851,8 +771,6 @@ // svuint64_t test_svhadd_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_u64,_x,)(pg, op1, op2); } @@ -872,8 +790,6 @@ // svint8_t test_svhadd_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s8,_x,)(pg, op1, op2); } @@ -895,8 +811,6 @@ // svint16_t test_svhadd_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s16,_x,)(pg, op1, op2); } @@ -918,8 +832,6 @@ // svint32_t test_svhadd_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s32,_x,)(pg, op1, op2); } @@ -941,8 +853,6 @@ // svint64_t test_svhadd_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_s64,_x,)(pg, op1, op2); } @@ -962,8 +872,6 @@ // svuint8_t test_svhadd_n_u8_x(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u8,_x,)(pg, op1, op2); } @@ -985,8 +893,6 @@ // svuint16_t test_svhadd_n_u16_x(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u16,_x,)(pg, op1, op2); } @@ -1008,8 +914,6 @@ // svuint32_t test_svhadd_n_u32_x(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u32,_x,)(pg, op1, op2); } @@ -1031,7 +935,5 @@ // svuint64_t test_svhadd_n_u64_x(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhadd_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhadd,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svuint32_t test_svhistcnt_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhistcnt_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhistcnt_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhistcnt,_s32,_z,)(pg, op1, op2); } @@ -50,8 +46,6 @@ // svuint64_t test_svhistcnt_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhistcnt_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhistcnt_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhistcnt,_s64,_z,)(pg, op1, op2); } @@ -69,8 +63,6 @@ // svuint32_t test_svhistcnt_u32_z(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhistcnt_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhistcnt_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhistcnt,_u32,_z,)(pg, op1, op2); } @@ -88,7 +80,5 @@ // svuint64_t test_svhistcnt_u64_z(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhistcnt_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhistcnt_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhistcnt,_u64,_z,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svuint8_t test_svhistseg_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhistseg'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhistseg_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhistseg,_s8,,)(op1, op2); } @@ -46,7 +42,5 @@ // svuint8_t test_svhistseg_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhistseg'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhistseg_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhistseg,_u8,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -31,8 +29,6 @@ // svint8_t test_svhsub_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s8,_z,)(pg, op1, op2); } @@ -52,8 +48,6 @@ // svint16_t test_svhsub_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s16,_z,)(pg, op1, op2); } @@ -73,8 +67,6 @@ // svint32_t test_svhsub_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s32,_z,)(pg, op1, op2); } @@ -94,8 +86,6 @@ // svint64_t test_svhsub_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s64,_z,)(pg, op1, op2); } @@ -113,8 +103,6 @@ // svuint8_t test_svhsub_u8_z(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u8,_z,)(pg, op1, op2); } @@ -134,8 +122,6 @@ // svuint16_t test_svhsub_u16_z(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u16,_z,)(pg, op1, op2); } @@ -155,8 +141,6 @@ // svuint32_t test_svhsub_u32_z(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u32,_z,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svuint64_t test_svhsub_u64_z(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u64,_z,)(pg, op1, op2); } @@ -193,8 +175,6 @@ // svint8_t test_svhsub_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s8,_m,)(pg, op1, op2); } @@ -212,8 +192,6 @@ // svint16_t test_svhsub_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s16,_m,)(pg, op1, op2); } @@ -231,8 +209,6 @@ // svint32_t test_svhsub_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s32,_m,)(pg, op1, op2); } @@ -250,8 +226,6 @@ // svint64_t test_svhsub_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s64,_m,)(pg, op1, op2); } @@ -267,8 +241,6 @@ // svuint8_t test_svhsub_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u8,_m,)(pg, op1, op2); } @@ -286,8 +258,6 @@ // svuint16_t test_svhsub_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u16,_m,)(pg, op1, op2); } @@ -305,8 +275,6 @@ // svuint32_t test_svhsub_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u32,_m,)(pg, op1, op2); } @@ -324,8 +292,6 @@ // svuint64_t test_svhsub_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u64,_m,)(pg, op1, op2); } @@ -341,8 +307,6 @@ // svint8_t test_svhsub_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s8,_x,)(pg, op1, op2); } @@ -360,8 +324,6 @@ // svint16_t test_svhsub_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s16,_x,)(pg, op1, op2); } @@ -379,8 +341,6 @@ // svint32_t test_svhsub_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s32,_x,)(pg, op1, op2); } @@ -398,8 +358,6 @@ // svint64_t test_svhsub_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_s64,_x,)(pg, op1, op2); } @@ -415,8 +373,6 @@ // svuint8_t test_svhsub_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u8,_x,)(pg, op1, op2); } @@ -434,8 +390,6 @@ // svuint16_t test_svhsub_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u16,_x,)(pg, op1, op2); } @@ -453,8 +407,6 @@ // svuint32_t test_svhsub_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u32,_x,)(pg, op1, op2); } @@ -472,8 +424,6 @@ // svuint64_t test_svhsub_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_u64,_x,)(pg, op1, op2); } @@ -495,8 +445,6 @@ // svint8_t test_svhsub_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s8,_z,)(pg, op1, op2); } @@ -520,8 +468,6 @@ // svint16_t test_svhsub_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s16,_z,)(pg, op1, op2); } @@ -545,8 +491,6 @@ // svint32_t test_svhsub_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s32,_z,)(pg, op1, op2); } @@ -570,8 +514,6 @@ // svint64_t test_svhsub_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s64,_z,)(pg, op1, op2); } @@ -593,8 +535,6 @@ // svuint8_t test_svhsub_n_u8_z(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u8,_z,)(pg, op1, op2); } @@ -618,8 +558,6 @@ // svuint16_t test_svhsub_n_u16_z(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u16,_z,)(pg, op1, op2); } @@ -643,8 +581,6 @@ // svuint32_t test_svhsub_n_u32_z(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u32,_z,)(pg, op1, op2); } @@ -668,8 +604,6 @@ // svuint64_t test_svhsub_n_u64_z(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u64,_z,)(pg, op1, op2); } @@ -689,8 +623,6 @@ // svint8_t test_svhsub_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s8,_m,)(pg, op1, op2); } @@ -712,8 +644,6 @@ // svint16_t test_svhsub_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s16,_m,)(pg, op1, op2); } @@ -735,8 +665,6 @@ // svint32_t test_svhsub_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s32,_m,)(pg, op1, op2); } @@ -758,8 +686,6 @@ // svint64_t test_svhsub_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s64,_m,)(pg, op1, op2); } @@ -779,8 +705,6 @@ // svuint8_t test_svhsub_n_u8_m(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u8,_m,)(pg, op1, op2); } @@ -802,8 +726,6 @@ // svuint16_t test_svhsub_n_u16_m(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u16,_m,)(pg, op1, op2); } @@ -825,8 +747,6 @@ // svuint32_t test_svhsub_n_u32_m(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u32,_m,)(pg, op1, op2); } @@ -848,8 +768,6 @@ // svuint64_t test_svhsub_n_u64_m(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u64,_m,)(pg, op1, op2); } @@ -869,8 +787,6 @@ // svint8_t test_svhsub_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s8,_x,)(pg, op1, op2); } @@ -892,8 +808,6 @@ // svint16_t test_svhsub_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s16,_x,)(pg, op1, op2); } @@ -915,8 +829,6 @@ // svint32_t test_svhsub_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s32,_x,)(pg, op1, op2); } @@ -938,8 +850,6 @@ // svint64_t test_svhsub_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_s64,_x,)(pg, op1, op2); } @@ -959,8 +869,6 @@ // svuint8_t test_svhsub_n_u8_x(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u8,_x,)(pg, op1, op2); } @@ -982,8 +890,6 @@ // svuint16_t test_svhsub_n_u16_x(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u16,_x,)(pg, op1, op2); } @@ -1005,8 +911,6 @@ // svuint32_t test_svhsub_n_u32_x(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u32,_x,)(pg, op1, op2); } @@ -1028,7 +932,5 @@ // svuint64_t test_svhsub_n_u64_x(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsub_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsub,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -31,8 +29,6 @@ // svint8_t test_svhsubr_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s8,_z,)(pg, op1, op2); } @@ -52,8 +48,6 @@ // svint16_t test_svhsubr_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s16,_z,)(pg, op1, op2); } @@ -73,8 +67,6 @@ // svint32_t test_svhsubr_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s32,_z,)(pg, op1, op2); } @@ -94,8 +86,6 @@ // svint64_t test_svhsubr_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s64,_z,)(pg, op1, op2); } @@ -113,8 +103,6 @@ // svuint8_t test_svhsubr_u8_z(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u8,_z,)(pg, op1, op2); } @@ -134,8 +122,6 @@ // svuint16_t test_svhsubr_u16_z(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u16,_z,)(pg, op1, op2); } @@ -155,8 +141,6 @@ // svuint32_t test_svhsubr_u32_z(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u32,_z,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svuint64_t test_svhsubr_u64_z(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u64,_z,)(pg, op1, op2); } @@ -193,8 +175,6 @@ // svint8_t test_svhsubr_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s8,_m,)(pg, op1, op2); } @@ -212,8 +192,6 @@ // svint16_t test_svhsubr_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s16,_m,)(pg, op1, op2); } @@ -231,8 +209,6 @@ // svint32_t test_svhsubr_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s32,_m,)(pg, op1, op2); } @@ -250,8 +226,6 @@ // svint64_t test_svhsubr_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s64,_m,)(pg, op1, op2); } @@ -267,8 +241,6 @@ // svuint8_t test_svhsubr_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u8,_m,)(pg, op1, op2); } @@ -286,8 +258,6 @@ // svuint16_t test_svhsubr_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u16,_m,)(pg, op1, op2); } @@ -305,8 +275,6 @@ // svuint32_t test_svhsubr_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u32,_m,)(pg, op1, op2); } @@ -324,8 +292,6 @@ // svuint64_t test_svhsubr_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u64,_m,)(pg, op1, op2); } @@ -341,8 +307,6 @@ // svint8_t test_svhsubr_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s8,_x,)(pg, op1, op2); } @@ -360,8 +324,6 @@ // svint16_t test_svhsubr_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s16,_x,)(pg, op1, op2); } @@ -379,8 +341,6 @@ // svint32_t test_svhsubr_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s32,_x,)(pg, op1, op2); } @@ -398,8 +358,6 @@ // svint64_t test_svhsubr_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_s64,_x,)(pg, op1, op2); } @@ -415,8 +373,6 @@ // svuint8_t test_svhsubr_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u8,_x,)(pg, op1, op2); } @@ -434,8 +390,6 @@ // svuint16_t test_svhsubr_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u16,_x,)(pg, op1, op2); } @@ -453,8 +407,6 @@ // svuint32_t test_svhsubr_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u32,_x,)(pg, op1, op2); } @@ -472,8 +424,6 @@ // svuint64_t test_svhsubr_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_u64,_x,)(pg, op1, op2); } @@ -495,8 +445,6 @@ // svint8_t test_svhsubr_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s8,_z,)(pg, op1, op2); } @@ -520,8 +468,6 @@ // svint16_t test_svhsubr_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s16,_z,)(pg, op1, op2); } @@ -545,8 +491,6 @@ // svint32_t test_svhsubr_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s32,_z,)(pg, op1, op2); } @@ -570,8 +514,6 @@ // svint64_t test_svhsubr_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s64,_z,)(pg, op1, op2); } @@ -593,8 +535,6 @@ // svuint8_t test_svhsubr_n_u8_z(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u8,_z,)(pg, op1, op2); } @@ -618,8 +558,6 @@ // svuint16_t test_svhsubr_n_u16_z(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u16,_z,)(pg, op1, op2); } @@ -643,8 +581,6 @@ // svuint32_t test_svhsubr_n_u32_z(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u32,_z,)(pg, op1, op2); } @@ -668,8 +604,6 @@ // svuint64_t test_svhsubr_n_u64_z(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u64,_z,)(pg, op1, op2); } @@ -689,8 +623,6 @@ // svint8_t test_svhsubr_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s8,_m,)(pg, op1, op2); } @@ -712,8 +644,6 @@ // svint16_t test_svhsubr_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s16,_m,)(pg, op1, op2); } @@ -735,8 +665,6 @@ // svint32_t test_svhsubr_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s32,_m,)(pg, op1, op2); } @@ -758,8 +686,6 @@ // svint64_t test_svhsubr_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s64,_m,)(pg, op1, op2); } @@ -779,8 +705,6 @@ // svuint8_t test_svhsubr_n_u8_m(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u8,_m,)(pg, op1, op2); } @@ -802,8 +726,6 @@ // svuint16_t test_svhsubr_n_u16_m(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u16,_m,)(pg, op1, op2); } @@ -825,8 +747,6 @@ // svuint32_t test_svhsubr_n_u32_m(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u32,_m,)(pg, op1, op2); } @@ -848,8 +768,6 @@ // svuint64_t test_svhsubr_n_u64_m(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u64,_m,)(pg, op1, op2); } @@ -869,8 +787,6 @@ // svint8_t test_svhsubr_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s8,_x,)(pg, op1, op2); } @@ -892,8 +808,6 @@ // svint16_t test_svhsubr_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s16,_x,)(pg, op1, op2); } @@ -915,8 +829,6 @@ // svint32_t test_svhsubr_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s32,_x,)(pg, op1, op2); } @@ -938,8 +850,6 @@ // svint64_t test_svhsubr_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_s64,_x,)(pg, op1, op2); } @@ -959,8 +869,6 @@ // svuint8_t test_svhsubr_n_u8_x(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u8,_x,)(pg, op1, op2); } @@ -982,8 +890,6 @@ // svuint16_t test_svhsubr_n_u16_x(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u16,_x,)(pg, op1, op2); } @@ -1005,8 +911,6 @@ // svuint32_t test_svhsubr_n_u32_x(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u32,_x,)(pg, op1, op2); } @@ -1028,7 +932,5 @@ // svuint64_t test_svhsubr_n_u64_x(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svhsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svhsubr_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svhsubr,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -30,8 +28,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint32_t test_svldnt1_gather_u32base_s32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _s32, )(pg, bases); } @@ -48,8 +44,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint64_t test_svldnt1_gather_u64base_s64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _s64, )(pg, bases); } @@ -66,8 +60,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint32_t test_svldnt1_gather_u32base_u32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _u32, )(pg, bases); } @@ -84,8 +76,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint64_t test_svldnt1_gather_u64base_u64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _u64, )(pg, bases); } @@ -102,8 +92,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat32_t test_svldnt1_gather_u32base_f32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_f32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _f32, )(pg, bases); } @@ -120,8 +108,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat64_t test_svldnt1_gather_u64base_f64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_f64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _f64, )(pg, bases); } @@ -138,8 +124,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint64_t test_svldnt1_gather_s64offset_s64(svbool_t pg, const int64_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, s64, offset, _s64)(pg, base, offsets); } @@ -156,8 +140,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint64_t test_svldnt1_gather_s64offset_u64(svbool_t pg, const uint64_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, s64, offset, _u64)(pg, base, offsets); } @@ -174,8 +156,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat64_t test_svldnt1_gather_s64offset_f64(svbool_t pg, const float64_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_s64offset_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, s64, offset, _f64)(pg, base, offsets); } @@ -192,8 +172,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint32_t test_svldnt1_gather_u32offset_s32(svbool_t pg, const int32_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u32, offset, _s32)(pg, base, offsets); } @@ -210,8 +188,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint64_t test_svldnt1_gather_u64offset_s64(svbool_t pg, const int64_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u64, offset, _s64)(pg, base, offsets); } @@ -228,8 +204,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint32_t test_svldnt1_gather_u32offset_u32(svbool_t pg, const uint32_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u32, offset, _u32)(pg, base, offsets); } @@ -246,8 +220,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint64_t test_svldnt1_gather_u64offset_u64(svbool_t pg, const uint64_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u64, offset, _u64)(pg, base, offsets); } @@ -264,8 +236,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat32_t test_svldnt1_gather_u32offset_f32(svbool_t pg, const float32_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32offset_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u32, offset, _f32)(pg, base, offsets); } @@ -282,8 +252,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat64_t test_svldnt1_gather_u64offset_f64(svbool_t pg, const float64_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64offset_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u64, offset, _f64)(pg, base, offsets); } @@ -300,8 +268,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint32_t test_svldnt1_gather_u32base_offset_s32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _offset_s32, )(pg, bases, offset); } @@ -318,8 +284,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint64_t test_svldnt1_gather_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _offset_s64, )(pg, bases, offset); } @@ -336,8 +300,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint32_t test_svldnt1_gather_u32base_offset_u32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _offset_u32, )(pg, bases, offset); } @@ -354,8 +316,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint64_t test_svldnt1_gather_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _offset_u64, )(pg, bases, offset); } @@ -372,8 +332,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat32_t test_svldnt1_gather_u32base_offset_f32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset_f32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_offset_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _offset_f32, )(pg, bases, offset); } @@ -390,8 +348,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat64_t test_svldnt1_gather_u64base_offset_f64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_offset_f64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_offset_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _offset_f64, )(pg, bases, offset); } @@ -408,8 +364,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint64_t test_svldnt1_gather_s64index_s64(svbool_t pg, const int64_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_s64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, s64, index, _s64)(pg, base, indices); } @@ -426,8 +380,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint64_t test_svldnt1_gather_s64index_u64(svbool_t pg, const uint64_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_s64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, s64, index, _u64)(pg, base, indices); } @@ -444,8 +396,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat64_t test_svldnt1_gather_s64index_f64(svbool_t pg, const float64_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_s64index_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, s64, index, _f64)(pg, base, indices); } @@ -462,8 +412,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svint64_t test_svldnt1_gather_u64index_s64(svbool_t pg, const int64_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u64, index, _s64)(pg, base, indices); } @@ -480,8 +428,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svuint64_t test_svldnt1_gather_u64index_u64(svbool_t pg, const uint64_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u64, index, _u64)(pg, base, indices); } @@ -498,8 +444,6 @@ // CPP-CHECK-NEXT: ret [[TMP1]] // svfloat64_t test_svldnt1_gather_u64index_f64(svbool_t pg, const float64_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64index_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather_, u64, index, _f64)(pg, base, indices); } @@ -518,8 +462,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1_gather_u32base_index_s32(svbool_t pg, svuint32_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_index_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _index_s32, )(pg, bases, index); } @@ -538,8 +480,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1_gather_u64base_index_s64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _index_s64, )(pg, bases, index); } @@ -558,8 +498,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1_gather_u32base_index_u32(svbool_t pg, svuint32_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_index_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _index_u32, )(pg, bases, index); } @@ -578,8 +516,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1_gather_u64base_index_u64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _index_u64, )(pg, bases, index); } @@ -598,8 +534,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svfloat32_t test_svldnt1_gather_u32base_index_f32(svbool_t pg, svuint32_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index_f32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u32base_index_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u32base, _index_f32, )(pg, bases, index); } @@ -618,7 +552,5 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svfloat64_t test_svldnt1_gather_u64base_index_f64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1_gather_index_f64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1_gather_u64base_index_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1_gather, _u64base, _index_f64, )(pg, bases, index); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1sb_gather_u32base_s32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u32base_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather, _u32base, _s32, )(pg, bases); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sb_gather_u64base_s64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather, _u64base, _s64, )(pg, bases); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1sb_gather_u32base_u32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u32base_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather, _u32base, _u32, )(pg, bases); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sb_gather_u64base_u64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather, _u64base, _u64, )(pg, bases); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sb_gather_s64offset_s64(svbool_t pg, const int8_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather_, s64, offset_s64, )(pg, base, offsets); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sb_gather_s64offset_u64(svbool_t pg, const int8_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather_, s64, offset_u64, )(pg, base, offsets); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1sb_gather_u32offset_s32(svbool_t pg, const int8_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u32offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather_, u32, offset_s32, )(pg, base, offsets); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sb_gather_u64offset_s64(svbool_t pg, const int8_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather_, u64, offset_s64, )(pg, base, offsets); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1sb_gather_u32offset_u32(svbool_t pg, const int8_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u32offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather_, u32, offset_u32, )(pg, base, offsets); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sb_gather_u64offset_u64(svbool_t pg, const int8_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather_, u64, offset_u64, )(pg, base, offsets); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1sb_gather_u32base_offset_s32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u32base_offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather, _u32base, _offset_s32, )(pg, bases, offset); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sb_gather_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather, _u64base, _offset_s64, )(pg, bases, offset); } @@ -272,8 +246,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1sb_gather_u32base_offset_u32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u32base_offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather, _u32base, _offset_u32, )(pg, bases, offset); } @@ -292,7 +264,5 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sb_gather_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sb_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sb_gather_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sb_gather, _u64base, _offset_u64, )(pg, bases, offset); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1sh_gather_u32base_s32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u32base_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _s32, )(pg, bases); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sh_gather_u64base_s64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _s64, )(pg, bases); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1sh_gather_u32base_u32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u32base_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _u32, )(pg, bases); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sh_gather_u64base_u64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _u64, )(pg, bases); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sh_gather_s64offset_s64(svbool_t pg, const int16_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, s64, offset_s64, )(pg, base, offsets); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sh_gather_s64offset_u64(svbool_t pg, const int16_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, s64, offset_u64, )(pg, base, offsets); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1sh_gather_u32offset_s32(svbool_t pg, const int16_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u32offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, u32, offset_s32, )(pg, base, offsets); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sh_gather_u64offset_s64(svbool_t pg, const int16_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, u64, offset_s64, )(pg, base, offsets); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1sh_gather_u32offset_u32(svbool_t pg, const int16_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u32offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, u32, offset_u32, )(pg, base, offsets); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sh_gather_u64offset_u64(svbool_t pg, const int16_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, u64, offset_u64, )(pg, base, offsets); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1sh_gather_u32base_offset_s32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u32base_offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _offset_s32, )(pg, bases, offset); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sh_gather_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _offset_s64, )(pg, bases, offset); } @@ -272,8 +246,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1sh_gather_u32base_offset_u32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u32base_offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _offset_u32, )(pg, bases, offset); } @@ -292,8 +264,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sh_gather_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _offset_u64, )(pg, bases, offset); } @@ -312,8 +282,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sh_gather_s64index_s64(svbool_t pg, const int16_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_s64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, s64, index_s64, )(pg, base, indices); } @@ -332,8 +300,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sh_gather_s64index_u64(svbool_t pg, const int16_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_s64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, s64, index_u64, )(pg, base, indices); } @@ -352,8 +318,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sh_gather_u64index_s64(svbool_t pg, const int16_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, u64, index_s64, )(pg, base, indices); } @@ -372,8 +336,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sh_gather_u64index_u64(svbool_t pg, const int16_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather_, u64, index_u64, )(pg, base, indices); } @@ -394,8 +356,6 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svint32_t test_svldnt1sh_gather_u32base_index_s32(svbool_t pg, svuint32_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_index_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u32base_index_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _index_s32, )(pg, bases, index); } @@ -416,8 +376,6 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svint64_t test_svldnt1sh_gather_u64base_index_s64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64base_index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _index_s64, )(pg, bases, index); } @@ -438,8 +396,6 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svuint32_t test_svldnt1sh_gather_u32base_index_u32(svbool_t pg, svuint32_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_index_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u32base_index_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _index_u32, )(pg, bases, index); } @@ -460,7 +416,5 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svuint64_t test_svldnt1sh_gather_u64base_index_u64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sh_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sh_gather_u64base_index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _index_u64, )(pg, bases, index); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sw_gather_u64base_s64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _s64, )(pg, bases); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sw_gather_u64base_u64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _u64, )(pg, bases); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sw_gather_s64offset_s64(svbool_t pg, const int32_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather_, s64, offset_s64, )(pg, base, offsets); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sw_gather_s64offset_u64(svbool_t pg, const int32_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather_, s64, offset_u64, )(pg, base, offsets); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sw_gather_u64offset_s64(svbool_t pg, const int32_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather_, u64, offset_s64, )(pg, base, offsets); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sw_gather_u64offset_u64(svbool_t pg, const int32_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather_, u64, offset_u64, )(pg, base, offsets); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sw_gather_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _offset_s64, )(pg, bases, offset); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sw_gather_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _offset_u64, )(pg, bases, offset); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sw_gather_s64index_s64(svbool_t pg, const int32_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_s64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather_, s64, index_s64, )(pg, base, indices); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sw_gather_s64index_u64(svbool_t pg, const int32_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_s64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather_, s64, index_u64, )(pg, base, indices); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1sw_gather_u64index_s64(svbool_t pg, const int32_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather_, u64, index_s64, )(pg, base, indices); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1sw_gather_u64index_u64(svbool_t pg, const int32_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather_, u64, index_u64, )(pg, base, indices); } @@ -274,8 +248,6 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svint64_t test_svldnt1sw_gather_u64base_index_s64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64base_index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _index_s64, )(pg, bases, index); } @@ -296,7 +268,5 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svuint64_t test_svldnt1sw_gather_u64base_index_u64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1sw_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1sw_gather_u64base_index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _index_u64, )(pg, bases, index); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1ub_gather_u32base_s32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u32base_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather, _u32base, _s32, )(pg, bases); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1ub_gather_u64base_s64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather, _u64base, _s64, )(pg, bases); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1ub_gather_u32base_u32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u32base_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather, _u32base, _u32, )(pg, bases); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1ub_gather_u64base_u64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather, _u64base, _u64, )(pg, bases); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1ub_gather_s64offset_s64(svbool_t pg, const uint8_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather_, s64, offset_s64, )(pg, base, offsets); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1ub_gather_s64offset_u64(svbool_t pg, const uint8_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather_, s64, offset_u64, )(pg, base, offsets); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1ub_gather_u32offset_s32(svbool_t pg, const uint8_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u32offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather_, u32, offset_s32, )(pg, base, offsets); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1ub_gather_u64offset_s64(svbool_t pg, const uint8_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather_, u64, offset_s64, )(pg, base, offsets); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1ub_gather_u32offset_u32(svbool_t pg, const uint8_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u32offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather_, u32, offset_u32, )(pg, base, offsets); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1ub_gather_u64offset_u64(svbool_t pg, const uint8_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather_, u64, offset_u64, )(pg, base, offsets); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1ub_gather_u32base_offset_s32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u32base_offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather, _u32base, _offset_s32, )(pg, bases, offset); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1ub_gather_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather, _u64base, _offset_s64, )(pg, bases, offset); } @@ -272,8 +246,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1ub_gather_u32base_offset_u32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u32base_offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather, _u32base, _offset_u32, )(pg, bases, offset); } @@ -292,7 +264,5 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1ub_gather_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1ub_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1ub_gather_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1ub_gather, _u64base, _offset_u64, )(pg, bases, offset); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1uh_gather_u32base_s32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u32base_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _s32, )(pg, bases); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uh_gather_u64base_s64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _s64, )(pg, bases); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1uh_gather_u32base_u32(svbool_t pg, svuint32_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u32base_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _u32, )(pg, bases); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uh_gather_u64base_u64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _u64, )(pg, bases); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uh_gather_s64offset_s64(svbool_t pg, const uint16_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, s64, offset_s64, )(pg, base, offsets); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uh_gather_s64offset_u64(svbool_t pg, const uint16_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, s64, offset_u64, )(pg, base, offsets); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1uh_gather_u32offset_s32(svbool_t pg, const uint16_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u32offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, u32, offset_s32, )(pg, base, offsets); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uh_gather_u64offset_s64(svbool_t pg, const uint16_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, u64, offset_s64, )(pg, base, offsets); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1uh_gather_u32offset_u32(svbool_t pg, const uint16_t *base, svuint32_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u32offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, u32, offset_u32, )(pg, base, offsets); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uh_gather_u64offset_u64(svbool_t pg, const uint16_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, u64, offset_u64, )(pg, base, offsets); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint32_t test_svldnt1uh_gather_u32base_offset_s32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u32base_offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _offset_s32, )(pg, bases, offset); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uh_gather_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _offset_s64, )(pg, bases, offset); } @@ -272,8 +246,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint32_t test_svldnt1uh_gather_u32base_offset_u32(svbool_t pg, svuint32_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u32base_offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _offset_u32, )(pg, bases, offset); } @@ -292,8 +264,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uh_gather_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _offset_u64, )(pg, bases, offset); } @@ -312,8 +282,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uh_gather_s64index_s64(svbool_t pg, const uint16_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_s64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, s64, index_s64, )(pg, base, indices); } @@ -332,8 +300,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uh_gather_s64index_u64(svbool_t pg, const uint16_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_s64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, s64, index_u64, )(pg, base, indices); } @@ -352,8 +318,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uh_gather_u64index_s64(svbool_t pg, const uint16_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, u64, index_s64, )(pg, base, indices); } @@ -372,8 +336,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uh_gather_u64index_u64(svbool_t pg, const uint16_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather_, u64, index_u64, )(pg, base, indices); } @@ -394,8 +356,6 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svint32_t test_svldnt1uh_gather_u32base_index_s32(svbool_t pg, svuint32_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_index_s32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u32base_index_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _index_s32, )(pg, bases, index); } @@ -416,8 +376,6 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svint64_t test_svldnt1uh_gather_u64base_index_s64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64base_index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _index_s64, )(pg, bases, index); } @@ -438,8 +396,6 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svuint32_t test_svldnt1uh_gather_u32base_index_u32(svbool_t pg, svuint32_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_index_u32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u32base_index_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _index_u32, )(pg, bases, index); } @@ -460,7 +416,5 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svuint64_t test_svldnt1uh_gather_u64base_index_u64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uh_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uh_gather_u64base_index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _index_u64, )(pg, bases, index); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uw_gather_u64base_s64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _s64, )(pg, bases); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uw_gather_u64base_u64(svbool_t pg, svuint64_t bases) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _u64, )(pg, bases); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uw_gather_s64offset_s64(svbool_t pg, const uint32_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather_, s64, offset_s64, )(pg, base, offsets); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uw_gather_s64offset_u64(svbool_t pg, const uint32_t *base, svint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather_, s64, offset_u64, )(pg, base, offsets); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uw_gather_u64offset_s64(svbool_t pg, const uint32_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather_, u64, offset_s64, )(pg, base, offsets); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uw_gather_u64offset_u64(svbool_t pg, const uint32_t *base, svuint64_t offsets) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather_, u64, offset_u64, )(pg, base, offsets); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uw_gather_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_offset_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _offset_s64, )(pg, bases, offset); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uw_gather_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_offset_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _offset_u64, )(pg, bases, offset); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uw_gather_s64index_s64(svbool_t pg, const uint32_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_s64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather_, s64, index_s64, )(pg, base, indices); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uw_gather_s64index_u64(svbool_t pg, const uint32_t *base, svint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_s64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather_, s64, index_u64, )(pg, base, indices); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svint64_t test_svldnt1uw_gather_u64index_s64(svbool_t pg, const uint32_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather_, u64, index_s64, )(pg, base, indices); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svuint64_t test_svldnt1uw_gather_u64index_u64(svbool_t pg, const uint32_t *base, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather_, u64, index_u64, )(pg, base, indices); } @@ -274,8 +248,6 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svint64_t test_svldnt1uw_gather_u64base_index_s64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_index_s64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64base_index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _index_s64, )(pg, bases, index); } @@ -296,7 +268,5 @@ // CPP-CHECK-NEXT: ret [[TMP3]] // svuint64_t test_svldnt1uw_gather_u64base_index_u64(svbool_t pg, svuint64_t bases, int64_t index) { - // overload-warning@+2 {{call to undeclared function 'svldnt1uw_gather_index_u64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svldnt1uw_gather_u64base_index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _index_u64, )(pg, bases, index); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svint16_t test_svlogb_f16_z(svbool_t pg, svfloat16_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f16,_z,)(pg, op); } @@ -50,8 +46,6 @@ // svint32_t test_svlogb_f32_z(svbool_t pg, svfloat32_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f32,_z,)(pg, op); } @@ -69,8 +63,6 @@ // svint64_t test_svlogb_f64_z(svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f64,_z,)(pg, op); } @@ -88,8 +80,6 @@ // svint16_t test_svlogb_f16_m(svint16_t inactive, svbool_t pg, svfloat16_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f16,_m,)(inactive, pg, op); } @@ -107,8 +97,6 @@ // svint32_t test_svlogb_f32_m(svint32_t inactive, svbool_t pg, svfloat32_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f32,_m,)(inactive, pg, op); } @@ -126,8 +114,6 @@ // svint64_t test_svlogb_f64_m(svint64_t inactive, svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f64,_m,)(inactive, pg, op); } @@ -145,8 +131,6 @@ // svint16_t test_svlogb_f16_x(svbool_t pg, svfloat16_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f16,_x,)(pg, op); } @@ -164,8 +148,6 @@ // svint32_t test_svlogb_f32_x(svbool_t pg, svfloat32_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f32,_x,)(pg, op); } @@ -183,7 +165,5 @@ // svint64_t test_svlogb_f64_x(svbool_t pg, svfloat64_t op) { - // overload-warning@+2 {{call to undeclared function 'svlogb_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svlogb_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svlogb,_f64,_x,)(pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svbool_t test_svmatch_s8(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmatch'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmatch_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmatch,_s8,,)(pg, op1, op2); } @@ -50,8 +46,6 @@ // svbool_t test_svmatch_s16(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmatch'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmatch_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmatch,_s16,,)(pg, op1, op2); } @@ -67,8 +61,6 @@ // svbool_t test_svmatch_u8(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmatch'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmatch_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmatch,_u8,,)(pg, op1, op2); } @@ -88,7 +80,5 @@ // svbool_t test_svmatch_u16(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmatch'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmatch_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmatch,_u16,,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svfloat16_t test_svmaxnmp_f16_m(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxnmp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxnmp_f16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxnmp,_f16,_m,)(pg, op1, op2); } @@ -50,8 +46,6 @@ // svfloat32_t test_svmaxnmp_f32_m(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxnmp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxnmp_f32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxnmp,_f32,_m,)(pg, op1, op2); } @@ -69,8 +63,6 @@ // svfloat64_t test_svmaxnmp_f64_m(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxnmp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxnmp_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxnmp,_f64,_m,)(pg, op1, op2); } @@ -88,8 +80,6 @@ // svfloat16_t test_svmaxnmp_f16_x(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxnmp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxnmp_f16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxnmp,_f16,_x,)(pg, op1, op2); } @@ -107,8 +97,6 @@ // svfloat32_t test_svmaxnmp_f32_x(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxnmp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxnmp_f32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxnmp,_f32,_x,)(pg, op1, op2); } @@ -126,7 +114,5 @@ // svfloat64_t test_svmaxnmp_f64_x(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxnmp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxnmp_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxnmp,_f64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svmaxp_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_s8,_m,)(pg, op1, op2); } @@ -48,8 +44,6 @@ // svint16_t test_svmaxp_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_s16,_m,)(pg, op1, op2); } @@ -67,8 +61,6 @@ // svint32_t test_svmaxp_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_s32,_m,)(pg, op1, op2); } @@ -86,8 +78,6 @@ // svint64_t test_svmaxp_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_s64,_m,)(pg, op1, op2); } @@ -103,8 +93,6 @@ // svuint8_t test_svmaxp_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_u8,_m,)(pg, op1, op2); } @@ -122,8 +110,6 @@ // svuint16_t test_svmaxp_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_u16,_m,)(pg, op1, op2); } @@ -141,8 +127,6 @@ // svuint32_t test_svmaxp_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_u32,_m,)(pg, op1, op2); } @@ -160,8 +144,6 @@ // svuint64_t test_svmaxp_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_u64,_m,)(pg, op1, op2); } @@ -177,8 +159,6 @@ // svint8_t test_svmaxp_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_s8,_x,)(pg, op1, op2); } @@ -196,8 +176,6 @@ // svint16_t test_svmaxp_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_s16,_x,)(pg, op1, op2); } @@ -215,8 +193,6 @@ // svint32_t test_svmaxp_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_s32,_x,)(pg, op1, op2); } @@ -234,8 +210,6 @@ // svint64_t test_svmaxp_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_s64,_x,)(pg, op1, op2); } @@ -251,8 +225,6 @@ // svuint8_t test_svmaxp_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_u8,_x,)(pg, op1, op2); } @@ -270,8 +242,6 @@ // svuint16_t test_svmaxp_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_u16,_x,)(pg, op1, op2); } @@ -289,8 +259,6 @@ // svuint32_t test_svmaxp_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_u32,_x,)(pg, op1, op2); } @@ -308,8 +276,6 @@ // svuint64_t test_svmaxp_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_u64,_x,)(pg, op1, op2); } @@ -327,8 +293,6 @@ // svfloat16_t test_svmaxp_f16_m(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_f16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_f16,_m,)(pg, op1, op2); } @@ -346,8 +310,6 @@ // svfloat32_t test_svmaxp_f32_m(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_f32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_f32,_m,)(pg, op1, op2); } @@ -365,8 +327,6 @@ // svfloat64_t test_svmaxp_f64_m(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_f64,_m,)(pg, op1, op2); } @@ -384,8 +344,6 @@ // svfloat16_t test_svmaxp_f16_x(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_f16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_f16,_x,)(pg, op1, op2); } @@ -403,8 +361,6 @@ // svfloat32_t test_svmaxp_f32_x(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_f32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_f32,_x,)(pg, op1, op2); } @@ -422,7 +378,5 @@ // svfloat64_t test_svmaxp_f64_x(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmaxp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmaxp_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmaxp,_f64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svfloat16_t test_svminnmp_f16_m(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminnmp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminnmp_f16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminnmp,_f16,_m,)(pg, op1, op2); } @@ -50,8 +46,6 @@ // svfloat32_t test_svminnmp_f32_m(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminnmp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminnmp_f32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminnmp,_f32,_m,)(pg, op1, op2); } @@ -69,8 +63,6 @@ // svfloat64_t test_svminnmp_f64_m(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminnmp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminnmp_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminnmp,_f64,_m,)(pg, op1, op2); } @@ -88,8 +80,6 @@ // svfloat16_t test_svminnmp_f16_x(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminnmp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminnmp_f16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminnmp,_f16,_x,)(pg, op1, op2); } @@ -107,8 +97,6 @@ // svfloat32_t test_svminnmp_f32_x(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminnmp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminnmp_f32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminnmp,_f32,_x,)(pg, op1, op2); } @@ -126,7 +114,5 @@ // svfloat64_t test_svminnmp_f64_x(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminnmp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminnmp_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminnmp,_f64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svminp_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_s8,_m,)(pg, op1, op2); } @@ -48,8 +44,6 @@ // svint16_t test_svminp_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_s16,_m,)(pg, op1, op2); } @@ -67,8 +61,6 @@ // svint32_t test_svminp_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_s32,_m,)(pg, op1, op2); } @@ -86,8 +78,6 @@ // svint64_t test_svminp_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_s64,_m,)(pg, op1, op2); } @@ -103,8 +93,6 @@ // svuint8_t test_svminp_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_u8,_m,)(pg, op1, op2); } @@ -122,8 +110,6 @@ // svuint16_t test_svminp_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_u16,_m,)(pg, op1, op2); } @@ -141,8 +127,6 @@ // svuint32_t test_svminp_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_u32,_m,)(pg, op1, op2); } @@ -160,8 +144,6 @@ // svuint64_t test_svminp_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_u64,_m,)(pg, op1, op2); } @@ -177,8 +159,6 @@ // svint8_t test_svminp_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_s8,_x,)(pg, op1, op2); } @@ -196,8 +176,6 @@ // svint16_t test_svminp_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_s16,_x,)(pg, op1, op2); } @@ -215,8 +193,6 @@ // svint32_t test_svminp_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_s32,_x,)(pg, op1, op2); } @@ -234,8 +210,6 @@ // svint64_t test_svminp_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_s64,_x,)(pg, op1, op2); } @@ -251,8 +225,6 @@ // svuint8_t test_svminp_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_u8,_x,)(pg, op1, op2); } @@ -270,8 +242,6 @@ // svuint16_t test_svminp_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_u16,_x,)(pg, op1, op2); } @@ -289,8 +259,6 @@ // svuint32_t test_svminp_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_u32,_x,)(pg, op1, op2); } @@ -308,8 +276,6 @@ // svuint64_t test_svminp_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_u64,_x,)(pg, op1, op2); } @@ -327,8 +293,6 @@ // svfloat16_t test_svminp_f16_m(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_f16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_f16,_m,)(pg, op1, op2); } @@ -346,8 +310,6 @@ // svfloat32_t test_svminp_f32_m(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_f32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_f32,_m,)(pg, op1, op2); } @@ -365,8 +327,6 @@ // svfloat64_t test_svminp_f64_m(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_f64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_f64,_m,)(pg, op1, op2); } @@ -384,8 +344,6 @@ // svfloat16_t test_svminp_f16_x(svbool_t pg, svfloat16_t op1, svfloat16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_f16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_f16,_x,)(pg, op1, op2); } @@ -403,8 +361,6 @@ // svfloat32_t test_svminp_f32_x(svbool_t pg, svfloat32_t op1, svfloat32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_f32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_f32,_x,)(pg, op1, op2); } @@ -422,7 +378,5 @@ // svfloat64_t test_svminp_f64_x(svbool_t pg, svfloat64_t op1, svfloat64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svminp_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svminp_f64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svminp,_f64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c @@ -3,7 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error -verify-ignore-unexpected=note %s // REQUIRES: aarch64-registered-target @@ -28,7 +27,6 @@ // svint16_t test_svmla_lane_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_s16,,)(op1, op2, op3, 0); } @@ -44,7 +42,6 @@ // svint16_t test_svmla_lane_s16_1(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_s16,,)(op1, op2, op3, 7); } @@ -60,7 +57,6 @@ // svint32_t test_svmla_lane_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_s32,,)(op1, op2, op3, 0); } @@ -76,7 +72,6 @@ // svint32_t test_svmla_lane_s32_1(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_s32,,)(op1, op2, op3, 3); } @@ -92,7 +87,6 @@ // svint64_t test_svmla_lane_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_s64,,)(op1, op2, op3, 0); } @@ -108,7 +102,6 @@ // svint64_t test_svmla_lane_s64_1(svint64_t op1, svint64_t op2, svint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_s64,,)(op1, op2, op3, 1); } @@ -124,7 +117,6 @@ // svuint16_t test_svmla_lane_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_u16,,)(op1, op2, op3, 0); } @@ -140,7 +132,6 @@ // svuint16_t test_svmla_lane_u16_1(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_u16,,)(op1, op2, op3, 7); } @@ -156,7 +147,6 @@ // svuint32_t test_svmla_lane_u32_1(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_u32,,)(op1, op2, op3, 3); } @@ -172,7 +162,6 @@ // svuint64_t test_svmla_lane_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_u64,,)(op1, op2, op3, 0); } @@ -188,6 +177,5 @@ // svuint64_t test_svmla_lane_u64_1(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmla_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmla_lane,_u64,,)(op1, op2, op3, 1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svmlalb_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svmlalb_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svmlalb_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint16_t test_svmlalb_u16(svuint16_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint32_t test_svmlalb_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint64_t test_svmlalb_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint16_t test_svmlalb_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint32_t test_svmlalb_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint64_t test_svmlalb_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint16_t test_svmlalb_n_u16(svuint16_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint32_t test_svmlalb_n_u32(svuint32_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_n_u32,,)(op1, op2, op3); } @@ -240,8 +216,6 @@ // svuint64_t test_svmlalb_n_u64(svuint64_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_n_u64,,)(op1, op2, op3); } @@ -257,8 +231,6 @@ // svint32_t test_svmlalb_lane_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_s32,,)(op1, op2, op3, 0); } @@ -274,8 +246,6 @@ // svint32_t test_svmlalb_lane_s32_1(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_s32,,)(op1, op2, op3, 7); } @@ -291,8 +261,6 @@ // svint64_t test_svmlalb_lane_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_s64,,)(op1, op2, op3, 0); } @@ -308,8 +276,6 @@ // svint64_t test_svmlalb_lane_s64_1(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_s64,,)(op1, op2, op3, 3); } @@ -325,8 +291,6 @@ // svuint32_t test_svmlalb_lane_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_u32,,)(op1, op2, op3, 0); } @@ -342,8 +306,6 @@ // svuint32_t test_svmlalb_lane_u32_1(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_u32,,)(op1, op2, op3, 7); } @@ -359,8 +321,6 @@ // svuint64_t test_svmlalb_lane_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_u64,,)(op1, op2, op3, 0); } @@ -376,8 +336,6 @@ // svuint64_t test_svmlalb_lane_u64_1(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_u64,,)(op1, op2, op3, 3); } @@ -393,8 +351,6 @@ // svfloat32_t test_svmlalb_f32(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_f32,,)(op1, op2, op3); } @@ -414,8 +370,6 @@ // svfloat32_t test_svmlalb_n_f32(svfloat32_t op1, svfloat16_t op2, float16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_n_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb,_n_f32,,)(op1, op2, op3); } @@ -431,8 +385,6 @@ // svfloat32_t test_svmlalb_lane_f32(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_f32,,)(op1, op2, op3, 0); } @@ -448,7 +400,5 @@ // svfloat32_t test_svmlalb_lane_f32_1(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalb_lane_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalb_lane,_f32,,)(op1, op2, op3, 7); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svmlalt_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svmlalt_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svmlalt_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint16_t test_svmlalt_u16(svuint16_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint32_t test_svmlalt_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint64_t test_svmlalt_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint16_t test_svmlalt_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint32_t test_svmlalt_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint64_t test_svmlalt_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint16_t test_svmlalt_n_u16(svuint16_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint32_t test_svmlalt_n_u32(svuint32_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_n_u32,,)(op1, op2, op3); } @@ -240,8 +216,6 @@ // svuint64_t test_svmlalt_n_u64(svuint64_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_n_u64,,)(op1, op2, op3); } @@ -257,8 +231,6 @@ // svint32_t test_svmlalt_lane_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_s32,,)(op1, op2, op3, 0); } @@ -274,8 +246,6 @@ // svint32_t test_svmlalt_lane_s32_1(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_s32,,)(op1, op2, op3, 7); } @@ -291,8 +261,6 @@ // svint64_t test_svmlalt_lane_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_s64,,)(op1, op2, op3, 0); } @@ -308,8 +276,6 @@ // svint64_t test_svmlalt_lane_s64_1(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_s64,,)(op1, op2, op3, 3); } @@ -325,8 +291,6 @@ // svuint32_t test_svmlalt_lane_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_u32,,)(op1, op2, op3, 0); } @@ -342,8 +306,6 @@ // svuint32_t test_svmlalt_lane_u32_1(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_u32,,)(op1, op2, op3, 7); } @@ -359,8 +321,6 @@ // svuint64_t test_svmlalt_lane_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_u64,,)(op1, op2, op3, 0); } @@ -376,8 +336,6 @@ // svuint64_t test_svmlalt_lane_u64_1(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_u64,,)(op1, op2, op3, 3); } @@ -393,8 +351,6 @@ // svfloat32_t test_svmlalt_f32(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_f32,,)(op1, op2, op3); } @@ -414,8 +370,6 @@ // svfloat32_t test_svmlalt_n_f32(svfloat32_t op1, svfloat16_t op2, float16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_n_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt,_n_f32,,)(op1, op2, op3); } @@ -431,8 +385,6 @@ // svfloat32_t test_svmlalt_lane_f32(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_f32,,)(op1, op2, op3, 0); } @@ -448,7 +400,5 @@ // svfloat32_t test_svmlalt_lane_f32_1(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlalt_lane_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlalt_lane,_f32,,)(op1, op2, op3, 7); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c @@ -3,7 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error -verify-ignore-unexpected=note %s // REQUIRES: aarch64-registered-target @@ -28,7 +27,6 @@ // svint16_t test_svmls_lane_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_s16,,)(op1, op2, op3, 0); } @@ -44,7 +42,6 @@ // svint16_t test_svmls_lane_s16_1(svint16_t op1, svint16_t op2, svint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_s16,,)(op1, op2, op3, 7); } @@ -60,7 +57,6 @@ // svint32_t test_svmls_lane_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_s32,,)(op1, op2, op3, 0); } @@ -76,7 +72,6 @@ // svint32_t test_svmls_lane_s32_1(svint32_t op1, svint32_t op2, svint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_s32,,)(op1, op2, op3, 3); } @@ -92,7 +87,6 @@ // svint64_t test_svmls_lane_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_s64,,)(op1, op2, op3, 0); } @@ -108,7 +102,6 @@ // svint64_t test_svmls_lane_s64_1(svint64_t op1, svint64_t op2, svint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_s64,,)(op1, op2, op3, 1); } @@ -124,7 +117,6 @@ // svuint16_t test_svmls_lane_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_u16,,)(op1, op2, op3, 0); } @@ -140,7 +132,6 @@ // svuint16_t test_svmls_lane_u16_1(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_u16,,)(op1, op2, op3, 7); } @@ -156,7 +147,6 @@ // svuint32_t test_svmls_lane_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_u32,,)(op1, op2, op3, 0); } @@ -172,7 +162,6 @@ // svuint32_t test_svmls_lane_u32_1(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_u32,,)(op1, op2, op3, 3); } @@ -188,7 +177,6 @@ // svuint64_t test_svmls_lane_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_u64,,)(op1, op2, op3, 0); } @@ -204,6 +192,5 @@ // svuint64_t test_svmls_lane_u64_1(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // expected-warning@+1 {{call to undeclared function 'svmls_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmls_lane,_u64,,)(op1, op2, op3, 1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svmlslb_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svmlslb_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svmlslb_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint16_t test_svmlslb_u16(svuint16_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint32_t test_svmlslb_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint64_t test_svmlslb_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint16_t test_svmlslb_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint32_t test_svmlslb_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint64_t test_svmlslb_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint16_t test_svmlslb_n_u16(svuint16_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint32_t test_svmlslb_n_u32(svuint32_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_n_u32,,)(op1, op2, op3); } @@ -240,8 +216,6 @@ // svuint64_t test_svmlslb_n_u64(svuint64_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_n_u64,,)(op1, op2, op3); } @@ -257,8 +231,6 @@ // svint32_t test_svmlslb_lane_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_s32,,)(op1, op2, op3, 0); } @@ -274,8 +246,6 @@ // svint32_t test_svmlslb_lane_s32_1(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_s32,,)(op1, op2, op3, 7); } @@ -291,8 +261,6 @@ // svint64_t test_svmlslb_lane_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_s64,,)(op1, op2, op3, 0); } @@ -308,8 +276,6 @@ // svint64_t test_svmlslb_lane_s64_1(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_s64,,)(op1, op2, op3, 3); } @@ -325,8 +291,6 @@ // svuint32_t test_svmlslb_lane_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_u32,,)(op1, op2, op3, 0); } @@ -342,8 +306,6 @@ // svuint32_t test_svmlslb_lane_u32_1(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_u32,,)(op1, op2, op3, 7); } @@ -359,8 +321,6 @@ // svuint64_t test_svmlslb_lane_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_u64,,)(op1, op2, op3, 0); } @@ -376,8 +336,6 @@ // svuint64_t test_svmlslb_lane_u64_1(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_u64,,)(op1, op2, op3, 3); } @@ -393,8 +351,6 @@ // svfloat32_t test_svmlslb_f32(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_f32,,)(op1, op2, op3); } @@ -414,8 +370,6 @@ // svfloat32_t test_svmlslb_n_f32(svfloat32_t op1, svfloat16_t op2, float16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_n_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb,_n_f32,,)(op1, op2, op3); } @@ -431,8 +385,6 @@ // svfloat32_t test_svmlslb_lane_f32(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_f32,,)(op1, op2, op3, 0); } @@ -448,7 +400,5 @@ // svfloat32_t test_svmlslb_lane_f32_1(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslb_lane_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslb_lane,_f32,,)(op1, op2, op3, 7); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svmlslt_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svmlslt_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svmlslt_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint16_t test_svmlslt_u16(svuint16_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint32_t test_svmlslt_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint64_t test_svmlslt_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint16_t test_svmlslt_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint32_t test_svmlslt_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint64_t test_svmlslt_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint16_t test_svmlslt_n_u16(svuint16_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint32_t test_svmlslt_n_u32(svuint32_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_n_u32,,)(op1, op2, op3); } @@ -240,8 +216,6 @@ // svuint64_t test_svmlslt_n_u64(svuint64_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_n_u64,,)(op1, op2, op3); } @@ -257,8 +231,6 @@ // svint32_t test_svmlslt_lane_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_s32,,)(op1, op2, op3, 0); } @@ -274,8 +246,6 @@ // svint32_t test_svmlslt_lane_s32_1(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_s32,,)(op1, op2, op3, 7); } @@ -291,8 +261,6 @@ // svint64_t test_svmlslt_lane_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_s64,,)(op1, op2, op3, 0); } @@ -308,8 +276,6 @@ // svint64_t test_svmlslt_lane_s64_1(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_s64,,)(op1, op2, op3, 3); } @@ -325,8 +291,6 @@ // svuint32_t test_svmlslt_lane_u32(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_u32,,)(op1, op2, op3, 0); } @@ -342,8 +306,6 @@ // svuint32_t test_svmlslt_lane_u32_1(svuint32_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_u32,,)(op1, op2, op3, 7); } @@ -359,8 +321,6 @@ // svuint64_t test_svmlslt_lane_u64(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_u64,,)(op1, op2, op3, 0); } @@ -376,8 +336,6 @@ // svuint64_t test_svmlslt_lane_u64_1(svuint64_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_u64,,)(op1, op2, op3, 3); } @@ -393,8 +351,6 @@ // svfloat32_t test_svmlslt_f32(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_f32,,)(op1, op2, op3); } @@ -414,8 +370,6 @@ // svfloat32_t test_svmlslt_n_f32(svfloat32_t op1, svfloat16_t op2, float16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_n_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt,_n_f32,,)(op1, op2, op3); } @@ -431,8 +385,6 @@ // svfloat32_t test_svmlslt_lane_f32(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_f32,,)(op1, op2, op3, 0); } @@ -448,7 +400,5 @@ // svfloat32_t test_svmlslt_lane_f32_1(svfloat32_t op1, svfloat16_t op2, svfloat16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmlslt_lane_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmlslt_lane,_f32,,)(op1, op2, op3, 7); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint16_t test_svmovlb_s16(svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlb,_s16,,)(op1); } @@ -46,8 +42,6 @@ // svint32_t test_svmovlb_s32(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlb,_s32,,)(op1); } @@ -63,8 +57,6 @@ // svint64_t test_svmovlb_s64(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlb,_s64,,)(op1); } @@ -80,8 +72,6 @@ // svuint16_t test_svmovlb_u16(svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlb,_u16,,)(op1); } @@ -97,8 +87,6 @@ // svuint32_t test_svmovlb_u32(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlb,_u32,,)(op1); } @@ -114,7 +102,5 @@ // svuint64_t test_svmovlb_u64(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlb,_u64,,)(op1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint16_t test_svmovlt_s16(svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlt,_s16,,)(op1); } @@ -46,8 +42,6 @@ // svint32_t test_svmovlt_s32(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlt,_s32,,)(op1); } @@ -63,8 +57,6 @@ // svint64_t test_svmovlt_s64(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlt,_s64,,)(op1); } @@ -80,8 +72,6 @@ // svuint16_t test_svmovlt_u16(svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlt,_u16,,)(op1); } @@ -97,8 +87,6 @@ // svuint32_t test_svmovlt_u32(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlt,_u32,,)(op1); } @@ -114,7 +102,5 @@ // svuint64_t test_svmovlt_u64(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svmovlt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmovlt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmovlt,_u64,,)(op1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c @@ -3,7 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error -verify-ignore-unexpected=note %s // REQUIRES: aarch64-registered-target @@ -28,7 +27,6 @@ // svint16_t test_svmul_lane_s16(svint16_t op1, svint16_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_s16,,)(op1, op2, 0); } @@ -44,7 +42,6 @@ // svint16_t test_svmul_lane_s16_1(svint16_t op1, svint16_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_s16,,)(op1, op2, 7); } @@ -60,7 +57,6 @@ // svint32_t test_svmul_lane_s32(svint32_t op1, svint32_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_s32,,)(op1, op2, 0); } @@ -76,7 +72,6 @@ // svint32_t test_svmul_lane_s32_1(svint32_t op1, svint32_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_s32,,)(op1, op2, 3); } @@ -92,7 +87,6 @@ // svint64_t test_svmul_lane_s64(svint64_t op1, svint64_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_s64,,)(op1, op2, 0); } @@ -108,7 +102,6 @@ // svint64_t test_svmul_lane_s64_1(svint64_t op1, svint64_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_s64,,)(op1, op2, 1); } @@ -124,7 +117,6 @@ // svuint16_t test_svmul_lane_u16(svuint16_t op1, svuint16_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_u16,,)(op1, op2, 0); } @@ -140,7 +132,6 @@ // svuint16_t test_svmul_lane_u16_1(svuint16_t op1, svuint16_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_u16,,)(op1, op2, 7); } @@ -156,7 +147,6 @@ // svuint32_t test_svmul_lane_u32(svuint32_t op1, svuint32_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_u32,,)(op1, op2, 0); } @@ -172,7 +162,6 @@ // svuint32_t test_svmul_lane_u32_1(svuint32_t op1, svuint32_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_u32,,)(op1, op2, 3); } @@ -188,7 +177,6 @@ // svuint64_t test_svmul_lane_u64(svuint64_t op1, svuint64_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_u64,,)(op1, op2, 0); } @@ -204,6 +192,5 @@ // svuint64_t test_svmul_lane_u64_1(svuint64_t op1, svuint64_t op2) { - // expected-warning@+1 {{call to undeclared function 'svmul_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmul_lane,_u64,,)(op1, op2, 1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svmullb_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svmullb_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svmullb_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svmullb_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svmullb_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svmullb_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svmullb_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svmullb_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svmullb_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svmullb_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svmullb_n_u32(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_n_u32,,)(op1, op2); } @@ -240,8 +216,6 @@ // svuint64_t test_svmullb_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb,_n_u64,,)(op1, op2); } @@ -257,8 +231,6 @@ // svint32_t test_svmullb_lane_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb_lane,_s32,,)(op1, op2, 0); } @@ -274,8 +246,6 @@ // svint32_t test_svmullb_lane_s32_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb_lane,_s32,,)(op1, op2, 7); } @@ -291,8 +261,6 @@ // svint64_t test_svmullb_lane_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb_lane,_s64,,)(op1, op2, 0); } @@ -308,8 +276,6 @@ // svint64_t test_svmullb_lane_s64_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb_lane,_s64,,)(op1, op2, 3); } @@ -325,8 +291,6 @@ // svuint32_t test_svmullb_lane_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb_lane,_u32,,)(op1, op2, 0); } @@ -342,8 +306,6 @@ // svuint32_t test_svmullb_lane_u32_1(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb_lane,_u32,,)(op1, op2, 7); } @@ -359,8 +321,6 @@ // svuint64_t test_svmullb_lane_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb_lane,_u64,,)(op1, op2, 0); } @@ -376,7 +336,5 @@ // svuint64_t test_svmullb_lane_u64_1(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullb_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullb_lane,_u64,,)(op1, op2, 3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svmullt_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svmullt_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svmullt_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svmullt_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svmullt_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svmullt_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svmullt_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svmullt_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svmullt_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svmullt_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svmullt_n_u32(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_n_u32,,)(op1, op2); } @@ -240,8 +216,6 @@ // svuint64_t test_svmullt_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt,_n_u64,,)(op1, op2); } @@ -257,8 +231,6 @@ // svint32_t test_svmullt_lane_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt_lane,_s32,,)(op1, op2, 0); } @@ -274,8 +246,6 @@ // svint32_t test_svmullt_lane_s32_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt_lane,_s32,,)(op1, op2, 7); } @@ -291,8 +261,6 @@ // svint64_t test_svmullt_lane_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt_lane,_s64,,)(op1, op2, 0); } @@ -308,8 +276,6 @@ // svint64_t test_svmullt_lane_s64_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt_lane,_s64,,)(op1, op2, 3); } @@ -325,8 +291,6 @@ // svuint32_t test_svmullt_lane_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt_lane,_u32,,)(op1, op2, 0); } @@ -342,8 +306,6 @@ // svuint32_t test_svmullt_lane_u32_1(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_lane_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt_lane,_u32,,)(op1, op2, 7); } @@ -359,8 +321,6 @@ // svuint64_t test_svmullt_lane_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt_lane,_u64,,)(op1, op2, 0); } @@ -376,7 +336,5 @@ // svuint64_t test_svmullt_lane_u64_1(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svmullt_lane_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svmullt_lane,_u64,,)(op1, op2, 3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svnbsl_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svnbsl_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svnbsl_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_svnbsl_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_s64,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint8_t test_svnbsl_u8(svuint8_t op1, svuint8_t op2, svuint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_u8,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint16_t test_svnbsl_u16(svuint16_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_u16,,)(op1, op2, op3); } @@ -131,8 +117,6 @@ // svuint32_t test_svnbsl_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_u32,,)(op1, op2, op3); } @@ -148,8 +132,6 @@ // svuint64_t test_svnbsl_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_u64,,)(op1, op2, op3); } @@ -169,8 +151,6 @@ // svint8_t test_svnbsl_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_n_s8,,)(op1, op2, op3); } @@ -190,8 +170,6 @@ // svint16_t test_svnbsl_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_n_s16,,)(op1, op2, op3); } @@ -211,8 +189,6 @@ // svint32_t test_svnbsl_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_n_s32,,)(op1, op2, op3); } @@ -232,8 +208,6 @@ // svint64_t test_svnbsl_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_n_s64,,)(op1, op2, op3); } @@ -253,8 +227,6 @@ // svuint8_t test_svnbsl_n_u8(svuint8_t op1, svuint8_t op2, uint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_n_u8,,)(op1, op2, op3); } @@ -274,8 +246,6 @@ // svuint16_t test_svnbsl_n_u16(svuint16_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_n_u16,,)(op1, op2, op3); } @@ -295,8 +265,6 @@ // svuint32_t test_svnbsl_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_n_u32,,)(op1, op2, op3); } @@ -316,7 +284,5 @@ // svuint64_t test_svnbsl_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svnbsl'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnbsl_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnbsl,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svbool_t test_svnmatch_s8(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svnmatch'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnmatch_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnmatch,_s8,,)(pg, op1, op2); } @@ -50,8 +46,6 @@ // svbool_t test_svnmatch_s16(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svnmatch'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnmatch_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnmatch,_s16,,)(pg, op1, op2); } @@ -67,8 +61,6 @@ // svbool_t test_svnmatch_u8(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svnmatch'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnmatch_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnmatch,_u8,,)(pg, op1, op2); } @@ -88,7 +80,5 @@ // svbool_t test_svnmatch_u16(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svnmatch'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svnmatch_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svnmatch,_u16,,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint8_t test_svpmul_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmul'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmul_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmul,_u8,,)(op1, op2); } @@ -50,7 +46,5 @@ // svuint8_t test_svpmul_n_u8(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmul'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmul_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmul,_n_u8,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint8_t test_svpmullb_pair_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_pair_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb_pair,_u8,,)(op1, op2); } @@ -46,8 +42,6 @@ // svuint32_t test_svpmullb_pair_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_pair_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb_pair,_u32,,)(op1, op2); } @@ -67,8 +61,6 @@ // svuint8_t test_svpmullb_pair_n_u8(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_pair_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb_pair,_n_u8,,)(op1, op2); } @@ -88,8 +80,6 @@ // svuint32_t test_svpmullb_pair_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_pair_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb_pair,_n_u32,,)(op1, op2); } @@ -107,8 +97,6 @@ // svuint16_t test_svpmullb_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb,_u16,,)(op1, op2); } @@ -126,8 +114,6 @@ // svuint64_t test_svpmullb_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb,_u64,,)(op1, op2); } @@ -149,8 +135,6 @@ // svuint16_t test_svpmullb_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb,_n_u16,,)(op1, op2); } @@ -172,7 +156,5 @@ // svuint64_t test_svpmullb_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint64_t test_svpmullb_pair_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_pair_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb_pair,_u64,,)(op1, op2); } @@ -50,7 +46,5 @@ // svuint64_t test_svpmullb_pair_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullb_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullb_pair_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullb_pair,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint8_t test_svpmullt_pair_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_pair_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt_pair,_u8,,)(op1, op2); } @@ -46,8 +42,6 @@ // svuint32_t test_svpmullt_pair_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_pair_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt_pair,_u32,,)(op1, op2); } @@ -67,8 +61,6 @@ // svuint8_t test_svpmullt_pair_n_u8(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_pair_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt_pair,_n_u8,,)(op1, op2); } @@ -88,8 +80,6 @@ // svuint32_t test_svpmullt_pair_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_pair_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt_pair,_n_u32,,)(op1, op2); } @@ -107,8 +97,6 @@ // svuint16_t test_svpmullt_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt,_u16,,)(op1, op2); } @@ -126,8 +114,6 @@ // svuint64_t test_svpmullt_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt,_u64,,)(op1, op2); } @@ -149,8 +135,6 @@ // svuint16_t test_svpmullt_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt,_n_u16,,)(op1, op2); } @@ -172,7 +156,5 @@ // svuint64_t test_svpmullt_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-aes -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint64_t test_svpmullt_pair_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_pair_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt_pair,_u64,,)(op1, op2); } @@ -50,7 +46,5 @@ // svuint64_t test_svpmullt_pair_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svpmullt_pair'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svpmullt_pair_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svpmullt_pair,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqabs_s8_z(svbool_t pg, svint8_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s8,_z,)(pg, op); } @@ -48,8 +44,6 @@ // svint16_t test_svqabs_s16_z(svbool_t pg, svint16_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s16,_z,)(pg, op); } @@ -67,8 +61,6 @@ // svint32_t test_svqabs_s32_z(svbool_t pg, svint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s32,_z,)(pg, op); } @@ -86,8 +78,6 @@ // svint64_t test_svqabs_s64_z(svbool_t pg, svint64_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s64,_z,)(pg, op); } @@ -103,8 +93,6 @@ // svint8_t test_svqabs_s8_m(svint8_t inactive, svbool_t pg, svint8_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s8,_m,)(inactive, pg, op); } @@ -122,8 +110,6 @@ // svint16_t test_svqabs_s16_m(svint16_t inactive, svbool_t pg, svint16_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s16,_m,)(inactive, pg, op); } @@ -141,8 +127,6 @@ // svint32_t test_svqabs_s32_m(svint32_t inactive, svbool_t pg, svint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s32,_m,)(inactive, pg, op); } @@ -160,8 +144,6 @@ // svint64_t test_svqabs_s64_m(svint64_t inactive, svbool_t pg, svint64_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s64,_m,)(inactive, pg, op); } @@ -177,8 +159,6 @@ // svint8_t test_svqabs_s8_x(svbool_t pg, svint8_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s8,_x,)(pg, op); } @@ -196,8 +176,6 @@ // svint16_t test_svqabs_s16_x(svbool_t pg, svint16_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s16,_x,)(pg, op); } @@ -215,8 +193,6 @@ // svint32_t test_svqabs_s32_x(svbool_t pg, svint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s32,_x,)(pg, op); } @@ -234,7 +210,5 @@ // svint64_t test_svqabs_s64_x(svbool_t pg, svint64_t op) { - // overload-warning@+2 {{call to undeclared function 'svqabs_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqabs_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqabs,_s64,_x,)(pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svqadd_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s8,_m,)(pg, op1, op2); } @@ -48,8 +44,6 @@ // svint16_t test_svqadd_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s16,_m,)(pg, op1, op2); } @@ -67,8 +61,6 @@ // svint32_t test_svqadd_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s32,_m,)(pg, op1, op2); } @@ -86,8 +78,6 @@ // svint64_t test_svqadd_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s64,_m,)(pg, op1, op2); } @@ -103,8 +93,6 @@ // svuint8_t test_svqadd_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u8,_m,)(pg, op1, op2); } @@ -122,8 +110,6 @@ // svuint16_t test_svqadd_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u16,_m,)(pg, op1, op2); } @@ -142,8 +128,6 @@ svuint32_t test_svqadd_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svqadd_u32_m - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u32,_m,)(pg, op1, op2); } @@ -161,8 +145,6 @@ // svuint64_t test_svqadd_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u64,_m,)(pg, op1, op2); } @@ -182,8 +164,6 @@ // svint8_t test_svqadd_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s8,_m,)(pg, op1, op2); } @@ -205,8 +185,6 @@ // svint16_t test_svqadd_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s16,_m,)(pg, op1, op2); } @@ -228,8 +206,6 @@ // svint32_t test_svqadd_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s32,_m,)(pg, op1, op2); } @@ -251,8 +227,6 @@ // svint64_t test_svqadd_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s64,_m,)(pg, op1, op2); } @@ -272,8 +246,6 @@ // svuint8_t test_svqadd_n_u8_m(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u8,_m,)(pg, op1, op2); } @@ -295,8 +267,6 @@ // svuint16_t test_svqadd_n_u16_m(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u16,_m,)(pg, op1, op2); } @@ -318,8 +288,6 @@ // svuint32_t test_svqadd_n_u32_m(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u32,_m,)(pg, op1, op2); } @@ -341,8 +309,6 @@ // svuint64_t test_svqadd_n_u64_m(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u64,_m,)(pg, op1, op2); } @@ -360,8 +326,6 @@ // svint8_t test_svqadd_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s8,_z,)(pg, op1, op2); } @@ -381,8 +345,6 @@ // svint16_t test_svqadd_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s16,_z,)(pg, op1, op2); } @@ -402,8 +364,6 @@ // svint32_t test_svqadd_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s32,_z,)(pg, op1, op2); } @@ -423,8 +383,6 @@ // svint64_t test_svqadd_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s64,_z,)(pg, op1, op2); } @@ -442,8 +400,6 @@ // svuint8_t test_svqadd_u8_z(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u8,_z,)(pg, op1, op2); } @@ -463,8 +419,6 @@ // svuint16_t test_svqadd_u16_z(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u16,_z,)(pg, op1, op2); } @@ -485,8 +439,6 @@ svuint32_t test_svqadd_u32_z(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svqadd_u32_z - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u32,_z,)(pg, op1, op2); } @@ -506,8 +458,6 @@ // svuint64_t test_svqadd_u64_z(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u64,_z,)(pg, op1, op2); } @@ -529,8 +479,6 @@ // svint8_t test_svqadd_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s8,_z,)(pg, op1, op2); } @@ -554,8 +502,6 @@ // svint16_t test_svqadd_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s16,_z,)(pg, op1, op2); } @@ -579,8 +525,6 @@ // svint32_t test_svqadd_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s32,_z,)(pg, op1, op2); } @@ -604,8 +548,6 @@ // svint64_t test_svqadd_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s64,_z,)(pg, op1, op2); } @@ -627,8 +569,6 @@ // svuint8_t test_svqadd_n_u8_z(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u8,_z,)(pg, op1, op2); } @@ -652,8 +592,6 @@ // svuint16_t test_svqadd_n_u16_z(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u16,_z,)(pg, op1, op2); } @@ -677,8 +615,6 @@ // svuint32_t test_svqadd_n_u32_z(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u32,_z,)(pg, op1, op2); } @@ -702,8 +638,6 @@ // svuint64_t test_svqadd_n_u64_z(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u64,_z,)(pg, op1, op2); } @@ -719,8 +653,6 @@ // svint8_t test_svqadd_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s8,_x,)(pg, op1, op2); } @@ -738,8 +670,6 @@ // svint16_t test_svqadd_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s16,_x,)(pg, op1, op2); } @@ -757,8 +687,6 @@ // svint32_t test_svqadd_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s32,_x,)(pg, op1, op2); } @@ -776,8 +704,6 @@ // svint64_t test_svqadd_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_s64,_x,)(pg, op1, op2); } @@ -793,8 +719,6 @@ // svuint8_t test_svqadd_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u8,_x,)(pg, op1, op2); } @@ -812,8 +736,6 @@ // svuint16_t test_svqadd_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u16,_x,)(pg, op1, op2); } @@ -832,8 +754,6 @@ svuint32_t test_svqadd_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svqadd_u32_x - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u32,_x,)(pg, op1, op2); } @@ -851,8 +771,6 @@ // svuint64_t test_svqadd_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_u64,_x,)(pg, op1, op2); } @@ -872,8 +790,6 @@ // svint8_t test_svqadd_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s8,_x,)(pg, op1, op2); } @@ -895,8 +811,6 @@ // svint16_t test_svqadd_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s16,_x,)(pg, op1, op2); } @@ -918,8 +832,6 @@ // svint32_t test_svqadd_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s32,_x,)(pg, op1, op2); } @@ -941,8 +853,6 @@ // svint64_t test_svqadd_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_s64,_x,)(pg, op1, op2); } @@ -962,8 +872,6 @@ // svuint8_t test_svqadd_n_u8_x(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u8,_x,)(pg, op1, op2); } @@ -985,8 +893,6 @@ // svuint16_t test_svqadd_n_u16_x(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u16,_x,)(pg, op1, op2); } @@ -1008,8 +914,6 @@ // svuint32_t test_svqadd_n_u32_x(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u32,_x,)(pg, op1, op2); } @@ -1031,7 +935,5 @@ // svuint64_t test_svqadd_n_u64_x(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqadd_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqadd,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqcadd_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqcadd_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqcadd,_s8,,)(op1, op2, 90); } @@ -46,8 +42,6 @@ // svint8_t test_svqcadd_s8_1(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqcadd_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqcadd,_s8,,)(op1, op2, 270); } @@ -63,8 +57,6 @@ // svint16_t test_svqcadd_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqcadd_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqcadd,_s16,,)(op1, op2, 90); } @@ -80,8 +72,6 @@ // svint16_t test_svqcadd_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqcadd_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqcadd,_s16,,)(op1, op2, 270); } @@ -97,8 +87,6 @@ // svint32_t test_svqcadd_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqcadd_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqcadd,_s32,,)(op1, op2, 90); } @@ -114,8 +102,6 @@ // svint32_t test_svqcadd_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqcadd_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqcadd,_s32,,)(op1, op2, 270); } @@ -131,8 +117,6 @@ // svint64_t test_svqcadd_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqcadd_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqcadd,_s64,,)(op1, op2, 90); } @@ -148,7 +132,5 @@ // svint64_t test_svqcadd_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqcadd'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqcadd_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqcadd,_s64,,)(op1, op2, 270); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svqdmlalb_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svqdmlalb_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svqdmlalb_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb,_s64,,)(op1, op2, op3); } @@ -84,8 +76,6 @@ // svint16_t test_svqdmlalb_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb,_n_s16,,)(op1, op2, op3); } @@ -105,8 +95,6 @@ // svint32_t test_svqdmlalb_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb,_n_s32,,)(op1, op2, op3); } @@ -126,8 +114,6 @@ // svint64_t test_svqdmlalb_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb,_n_s64,,)(op1, op2, op3); } @@ -143,8 +129,6 @@ // svint32_t test_svqdmlalb_lane_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb_lane,_s32,,)(op1, op2, op3, 0); } @@ -160,8 +144,6 @@ // svint32_t test_svqdmlalb_lane_s32_1(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb_lane,_s32,,)(op1, op2, op3, 7); } @@ -177,8 +159,6 @@ // svint64_t test_svqdmlalb_lane_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb_lane,_s64,,)(op1, op2, op3, 0); } @@ -194,7 +174,5 @@ // svint64_t test_svqdmlalb_lane_s64_1(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalb_lane,_s64,,)(op1, op2, op3, 3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svqdmlalbt_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalbt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalbt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svqdmlalbt_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalbt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalbt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svqdmlalbt_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalbt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalbt,_s64,,)(op1, op2, op3); } @@ -84,8 +76,6 @@ // svint16_t test_svqdmlalbt_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalbt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalbt,_n_s16,,)(op1, op2, op3); } @@ -105,8 +95,6 @@ // svint32_t test_svqdmlalbt_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalbt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalbt,_n_s32,,)(op1, op2, op3); } @@ -126,7 +114,5 @@ // svint64_t test_svqdmlalbt_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalbt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalbt,_n_s64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svqdmlalt_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svqdmlalt_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svqdmlalt_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt,_s64,,)(op1, op2, op3); } @@ -84,8 +76,6 @@ // svint16_t test_svqdmlalt_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt,_n_s16,,)(op1, op2, op3); } @@ -105,8 +95,6 @@ // svint32_t test_svqdmlalt_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt,_n_s32,,)(op1, op2, op3); } @@ -126,8 +114,6 @@ // svint64_t test_svqdmlalt_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt,_n_s64,,)(op1, op2, op3); } @@ -143,8 +129,6 @@ // svint32_t test_svqdmlalt_lane_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt_lane,_s32,,)(op1, op2, op3, 0); } @@ -160,8 +144,6 @@ // svint32_t test_svqdmlalt_lane_s32_1(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt_lane,_s32,,)(op1, op2, op3, 7); } @@ -177,8 +159,6 @@ // svint64_t test_svqdmlalt_lane_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt_lane,_s64,,)(op1, op2, op3, 0); } @@ -194,7 +174,5 @@ // svint64_t test_svqdmlalt_lane_s64_1(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlalt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlalt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlalt_lane,_s64,,)(op1, op2, op3, 3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svqdmlslb_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svqdmlslb_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svqdmlslb_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb,_s64,,)(op1, op2, op3); } @@ -84,8 +76,6 @@ // svint16_t test_svqdmlslb_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb,_n_s16,,)(op1, op2, op3); } @@ -105,8 +95,6 @@ // svint32_t test_svqdmlslb_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb,_n_s32,,)(op1, op2, op3); } @@ -126,8 +114,6 @@ // svint64_t test_svqdmlslb_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb,_n_s64,,)(op1, op2, op3); } @@ -143,8 +129,6 @@ // svint32_t test_svqdmlslb_lane_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb_lane,_s32,,)(op1, op2, op3, 0); } @@ -160,8 +144,6 @@ // svint32_t test_svqdmlslb_lane_s32_1(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb_lane,_s32,,)(op1, op2, op3, 7); } @@ -177,8 +159,6 @@ // svint64_t test_svqdmlslb_lane_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb_lane,_s64,,)(op1, op2, op3, 0); } @@ -194,7 +174,5 @@ // svint64_t test_svqdmlslb_lane_s64_1(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslb_lane,_s64,,)(op1, op2, op3, 3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svqdmlslbt_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslbt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslbt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svqdmlslbt_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslbt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslbt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svqdmlslbt_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslbt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslbt,_s64,,)(op1, op2, op3); } @@ -84,8 +76,6 @@ // svint16_t test_svqdmlslbt_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslbt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslbt,_n_s16,,)(op1, op2, op3); } @@ -105,8 +95,6 @@ // svint32_t test_svqdmlslbt_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslbt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslbt,_n_s32,,)(op1, op2, op3); } @@ -126,7 +114,5 @@ // svint64_t test_svqdmlslbt_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslbt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslbt,_n_s64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svqdmlslt_s16(svint16_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint32_t test_svqdmlslt_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint64_t test_svqdmlslt_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt,_s64,,)(op1, op2, op3); } @@ -84,8 +76,6 @@ // svint16_t test_svqdmlslt_n_s16(svint16_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt,_n_s16,,)(op1, op2, op3); } @@ -105,8 +95,6 @@ // svint32_t test_svqdmlslt_n_s32(svint32_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt,_n_s32,,)(op1, op2, op3); } @@ -126,8 +114,6 @@ // svint64_t test_svqdmlslt_n_s64(svint64_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt,_n_s64,,)(op1, op2, op3); } @@ -143,8 +129,6 @@ // svint32_t test_svqdmlslt_lane_s32(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt_lane,_s32,,)(op1, op2, op3, 0); } @@ -160,8 +144,6 @@ // svint32_t test_svqdmlslt_lane_s32_1(svint32_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt_lane,_s32,,)(op1, op2, op3, 7); } @@ -177,8 +159,6 @@ // svint64_t test_svqdmlslt_lane_s64(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt_lane,_s64,,)(op1, op2, op3, 0); } @@ -194,7 +174,5 @@ // svint64_t test_svqdmlslt_lane_s64_1(svint64_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqdmlslt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmlslt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmlslt_lane,_s64,,)(op1, op2, op3, 3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svqdmulh_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh,_s8,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint16_t test_svqdmulh_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh,_s16,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint32_t test_svqdmulh_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh,_s32,,)(op1, op2); } @@ -80,8 +72,6 @@ // svint64_t test_svqdmulh_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh,_s64,,)(op1, op2); } @@ -101,8 +91,6 @@ // svint8_t test_svqdmulh_n_s8(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh,_n_s8,,)(op1, op2); } @@ -122,8 +110,6 @@ // svint16_t test_svqdmulh_n_s16(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh,_n_s16,,)(op1, op2); } @@ -143,8 +129,6 @@ // svint32_t test_svqdmulh_n_s32(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh,_n_s32,,)(op1, op2); } @@ -164,8 +148,6 @@ // svint64_t test_svqdmulh_n_s64(svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh,_n_s64,,)(op1, op2); } @@ -181,8 +163,6 @@ // svint16_t test_svqdmulh_lane_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh_lane,_s16,,)(op1, op2, 0); } @@ -198,8 +178,6 @@ // svint16_t test_svqdmulh_lane_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh_lane,_s16,,)(op1, op2, 7); } @@ -215,8 +193,6 @@ // svint32_t test_svqdmulh_lane_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh_lane,_s32,,)(op1, op2, 0); } @@ -232,8 +208,6 @@ // svint32_t test_svqdmulh_lane_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh_lane,_s32,,)(op1, op2, 3); } @@ -249,8 +223,6 @@ // svint64_t test_svqdmulh_lane_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh_lane,_s64,,)(op1, op2, 0); } @@ -266,7 +238,5 @@ // svint64_t test_svqdmulh_lane_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmulh_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmulh_lane,_s64,,)(op1, op2, 1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svqdmullb_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svqdmullb_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svqdmullb_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb,_s64,,)(op1, op2); } @@ -84,8 +76,6 @@ // svint16_t test_svqdmullb_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb,_n_s16,,)(op1, op2); } @@ -105,8 +95,6 @@ // svint32_t test_svqdmullb_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb,_n_s32,,)(op1, op2); } @@ -126,8 +114,6 @@ // svint64_t test_svqdmullb_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb,_n_s64,,)(op1, op2); } @@ -143,8 +129,6 @@ // svint32_t test_svqdmullb_lane_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb_lane,_s32,,)(op1, op2, 0); } @@ -160,8 +144,6 @@ // svint32_t test_svqdmullb_lane_s32_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb_lane,_s32,,)(op1, op2, 7); } @@ -177,8 +159,6 @@ // svint64_t test_svqdmullb_lane_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb_lane,_s64,,)(op1, op2, 0); } @@ -194,7 +174,5 @@ // svint64_t test_svqdmullb_lane_s64_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullb_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullb_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullb_lane,_s64,,)(op1, op2, 3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svqdmullt_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svqdmullt_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svqdmullt_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt,_s64,,)(op1, op2); } @@ -84,8 +76,6 @@ // svint16_t test_svqdmullt_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt,_n_s16,,)(op1, op2); } @@ -105,8 +95,6 @@ // svint32_t test_svqdmullt_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt,_n_s32,,)(op1, op2); } @@ -126,8 +114,6 @@ // svint64_t test_svqdmullt_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt,_n_s64,,)(op1, op2); } @@ -143,8 +129,6 @@ // svint32_t test_svqdmullt_lane_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt_lane,_s32,,)(op1, op2, 0); } @@ -160,8 +144,6 @@ // svint32_t test_svqdmullt_lane_s32_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt_lane,_s32,,)(op1, op2, 7); } @@ -177,8 +159,6 @@ // svint64_t test_svqdmullt_lane_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt_lane,_s64,,)(op1, op2, 0); } @@ -194,7 +174,5 @@ // svint64_t test_svqdmullt_lane_s64_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqdmullt_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqdmullt_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqdmullt_lane,_s64,,)(op1, op2, 3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqneg_s8_z(svbool_t pg, svint8_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s8,_z,)(pg, op); } @@ -48,8 +44,6 @@ // svint16_t test_svqneg_s16_z(svbool_t pg, svint16_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s16,_z,)(pg, op); } @@ -67,8 +61,6 @@ // svint32_t test_svqneg_s32_z(svbool_t pg, svint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s32,_z,)(pg, op); } @@ -86,8 +78,6 @@ // svint64_t test_svqneg_s64_z(svbool_t pg, svint64_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s64,_z,)(pg, op); } @@ -103,8 +93,6 @@ // svint8_t test_svqneg_s8_m(svint8_t inactive, svbool_t pg, svint8_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s8,_m,)(inactive, pg, op); } @@ -122,8 +110,6 @@ // svint16_t test_svqneg_s16_m(svint16_t inactive, svbool_t pg, svint16_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s16,_m,)(inactive, pg, op); } @@ -141,8 +127,6 @@ // svint32_t test_svqneg_s32_m(svint32_t inactive, svbool_t pg, svint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s32,_m,)(inactive, pg, op); } @@ -160,8 +144,6 @@ // svint64_t test_svqneg_s64_m(svint64_t inactive, svbool_t pg, svint64_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s64,_m,)(inactive, pg, op); } @@ -177,8 +159,6 @@ // svint8_t test_svqneg_s8_x(svbool_t pg, svint8_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s8,_x,)(pg, op); } @@ -196,8 +176,6 @@ // svint16_t test_svqneg_s16_x(svbool_t pg, svint16_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s16,_x,)(pg, op); } @@ -215,8 +193,6 @@ // svint32_t test_svqneg_s32_x(svbool_t pg, svint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s32,_x,)(pg, op); } @@ -234,7 +210,5 @@ // svint64_t test_svqneg_s64_x(svbool_t pg, svint64_t op) { - // overload-warning@+2 {{call to undeclared function 'svqneg_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqneg_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqneg,_s64,_x,)(pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqrdcmlah_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s8,,)(op1, op2, op3, 0); } @@ -46,8 +42,6 @@ // svint8_t test_svqrdcmlah_s8_1(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s8,,)(op1, op2, op3, 90); } @@ -63,8 +57,6 @@ // svint8_t test_svqrdcmlah_s8_2(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s8,,)(op1, op2, op3, 180); } @@ -80,8 +72,6 @@ // svint8_t test_svqrdcmlah_s8_3(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s8,,)(op1, op2, op3, 270); } @@ -97,8 +87,6 @@ // svint16_t test_svqrdcmlah_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s16,,)(op1, op2, op3, 0); } @@ -114,8 +102,6 @@ // svint16_t test_svqrdcmlah_s16_1(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s16,,)(op1, op2, op3, 90); } @@ -131,8 +117,6 @@ // svint16_t test_svqrdcmlah_s16_2(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s16,,)(op1, op2, op3, 180); } @@ -148,8 +132,6 @@ // svint16_t test_svqrdcmlah_s16_3(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s16,,)(op1, op2, op3, 270); } @@ -165,8 +147,6 @@ // svint32_t test_svqrdcmlah_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s32,,)(op1, op2, op3, 0); } @@ -182,8 +162,6 @@ // svint32_t test_svqrdcmlah_s32_1(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s32,,)(op1, op2, op3, 90); } @@ -199,8 +177,6 @@ // svint32_t test_svqrdcmlah_s32_2(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s32,,)(op1, op2, op3, 180); } @@ -216,8 +192,6 @@ // svint32_t test_svqrdcmlah_s32_3(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s32,,)(op1, op2, op3, 270); } @@ -233,8 +207,6 @@ // svint64_t test_svqrdcmlah_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s64,,)(op1, op2, op3, 0); } @@ -250,8 +222,6 @@ // svint64_t test_svqrdcmlah_s64_1(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s64,,)(op1, op2, op3, 90); } @@ -267,8 +237,6 @@ // svint64_t test_svqrdcmlah_s64_2(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s64,,)(op1, op2, op3, 180); } @@ -284,8 +252,6 @@ // svint64_t test_svqrdcmlah_s64_3(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah,_s64,,)(op1, op2, op3, 270); } @@ -301,8 +267,6 @@ // svint16_t test_svqrdcmlah_lane_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah_lane,_s16,,)(op1, op2, op3, 0, 0); } @@ -318,8 +282,6 @@ // svint16_t test_svqrdcmlah_lane_s16_1(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah_lane,_s16,,)(op1, op2, op3, 3, 90); } @@ -335,8 +297,6 @@ // svint32_t test_svqrdcmlah_lane_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah_lane,_s32,,)(op1, op2, op3, 0, 180); } @@ -352,7 +312,5 @@ // svint32_t test_svqrdcmlah_lane_s32_1(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdcmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdcmlah_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdcmlah_lane,_s32,,)(op1, op2, op3, 1, 270); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svqrdmlah_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svqrdmlah_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svqrdmlah_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_svqrdmlah_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah,_s64,,)(op1, op2, op3); } @@ -101,8 +91,6 @@ // svint8_t test_svqrdmlah_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah,_n_s8,,)(op1, op2, op3); } @@ -122,8 +110,6 @@ // svint16_t test_svqrdmlah_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah,_n_s16,,)(op1, op2, op3); } @@ -143,8 +129,6 @@ // svint32_t test_svqrdmlah_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah,_n_s32,,)(op1, op2, op3); } @@ -164,8 +148,6 @@ // svint64_t test_svqrdmlah_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah,_n_s64,,)(op1, op2, op3); } @@ -181,8 +163,6 @@ // svint16_t test_svqrdmlah_lane_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah_lane,_s16,,)(op1, op2, op3, 0); } @@ -198,8 +178,6 @@ // svint16_t test_svqrdmlah_lane_s16_1(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah_lane,_s16,,)(op1, op2, op3, 7); } @@ -215,8 +193,6 @@ // svint32_t test_svqrdmlah_lane_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah_lane,_s32,,)(op1, op2, op3, 0); } @@ -232,8 +208,6 @@ // svint32_t test_svqrdmlah_lane_s32_1(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah_lane,_s32,,)(op1, op2, op3, 3); } @@ -249,8 +223,6 @@ // svint64_t test_svqrdmlah_lane_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah_lane,_s64,,)(op1, op2, op3, 0); } @@ -266,7 +238,5 @@ // svint64_t test_svqrdmlah_lane_s64_1(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlah_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlah_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlah_lane,_s64,,)(op1, op2, op3, 1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svqrdmlsh_s8(svint8_t op1, svint8_t op2, svint8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh,_s8,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svqrdmlsh_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh,_s16,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svqrdmlsh_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh,_s32,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svint64_t test_svqrdmlsh_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh,_s64,,)(op1, op2, op3); } @@ -101,8 +91,6 @@ // svint8_t test_svqrdmlsh_n_s8(svint8_t op1, svint8_t op2, int8_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh,_n_s8,,)(op1, op2, op3); } @@ -122,8 +110,6 @@ // svint16_t test_svqrdmlsh_n_s16(svint16_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh,_n_s16,,)(op1, op2, op3); } @@ -143,8 +129,6 @@ // svint32_t test_svqrdmlsh_n_s32(svint32_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh,_n_s32,,)(op1, op2, op3); } @@ -164,8 +148,6 @@ // svint64_t test_svqrdmlsh_n_s64(svint64_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh,_n_s64,,)(op1, op2, op3); } @@ -181,8 +163,6 @@ // svint16_t test_svqrdmlsh_lane_s16(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh_lane,_s16,,)(op1, op2, op3, 0); } @@ -198,8 +178,6 @@ // svint16_t test_svqrdmlsh_lane_s16_1(svint16_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh_lane,_s16,,)(op1, op2, op3, 7); } @@ -215,8 +193,6 @@ // svint32_t test_svqrdmlsh_lane_s32(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh_lane,_s32,,)(op1, op2, op3, 0); } @@ -232,8 +208,6 @@ // svint32_t test_svqrdmlsh_lane_s32_1(svint32_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh_lane,_s32,,)(op1, op2, op3, 3); } @@ -249,8 +223,6 @@ // svint64_t test_svqrdmlsh_lane_s64(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh_lane,_s64,,)(op1, op2, op3, 0); } @@ -266,7 +238,5 @@ // svint64_t test_svqrdmlsh_lane_s64_1(svint64_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svqrdmlsh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmlsh_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmlsh_lane,_s64,,)(op1, op2, op3, 1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svqrdmulh_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh,_s8,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint16_t test_svqrdmulh_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh,_s16,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint32_t test_svqrdmulh_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh,_s32,,)(op1, op2); } @@ -80,8 +72,6 @@ // svint64_t test_svqrdmulh_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh,_s64,,)(op1, op2); } @@ -101,8 +91,6 @@ // svint8_t test_svqrdmulh_n_s8(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh,_n_s8,,)(op1, op2); } @@ -122,8 +110,6 @@ // svint16_t test_svqrdmulh_n_s16(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh,_n_s16,,)(op1, op2); } @@ -143,8 +129,6 @@ // svint32_t test_svqrdmulh_n_s32(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh,_n_s32,,)(op1, op2); } @@ -164,8 +148,6 @@ // svint64_t test_svqrdmulh_n_s64(svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh,_n_s64,,)(op1, op2); } @@ -181,8 +163,6 @@ // svint16_t test_svqrdmulh_lane_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh_lane,_s16,,)(op1, op2, 0); } @@ -198,8 +178,6 @@ // svint16_t test_svqrdmulh_lane_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_lane_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh_lane,_s16,,)(op1, op2, 7); } @@ -215,8 +193,6 @@ // svint32_t test_svqrdmulh_lane_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh_lane,_s32,,)(op1, op2, 0); } @@ -232,8 +208,6 @@ // svint32_t test_svqrdmulh_lane_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_lane_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh_lane,_s32,,)(op1, op2, 3); } @@ -249,8 +223,6 @@ // svint64_t test_svqrdmulh_lane_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh_lane,_s64,,)(op1, op2, 0); } @@ -266,7 +238,5 @@ // svint64_t test_svqrdmulh_lane_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrdmulh_lane'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrdmulh_lane_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrdmulh_lane,_s64,,)(op1, op2, 1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -31,8 +29,6 @@ // svint8_t test_svqrshl_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s8,_z,)(pg, op1, op2); } @@ -52,8 +48,6 @@ // svint16_t test_svqrshl_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s16,_z,)(pg, op1, op2); } @@ -73,8 +67,6 @@ // svint32_t test_svqrshl_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s32,_z,)(pg, op1, op2); } @@ -94,8 +86,6 @@ // svint64_t test_svqrshl_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s64,_z,)(pg, op1, op2); } @@ -113,8 +103,6 @@ // svuint8_t test_svqrshl_u8_z(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u8,_z,)(pg, op1, op2); } @@ -134,8 +122,6 @@ // svuint16_t test_svqrshl_u16_z(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u16,_z,)(pg, op1, op2); } @@ -155,8 +141,6 @@ // svuint32_t test_svqrshl_u32_z(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u32,_z,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svuint64_t test_svqrshl_u64_z(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u64,_z,)(pg, op1, op2); } @@ -193,8 +175,6 @@ // svint8_t test_svqrshl_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s8,_m,)(pg, op1, op2); } @@ -212,8 +192,6 @@ // svint16_t test_svqrshl_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s16,_m,)(pg, op1, op2); } @@ -231,8 +209,6 @@ // svint32_t test_svqrshl_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s32,_m,)(pg, op1, op2); } @@ -250,8 +226,6 @@ // svint64_t test_svqrshl_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s64,_m,)(pg, op1, op2); } @@ -267,8 +241,6 @@ // svuint8_t test_svqrshl_u8_m(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u8,_m,)(pg, op1, op2); } @@ -286,8 +258,6 @@ // svuint16_t test_svqrshl_u16_m(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u16,_m,)(pg, op1, op2); } @@ -305,8 +275,6 @@ // svuint32_t test_svqrshl_u32_m(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u32,_m,)(pg, op1, op2); } @@ -324,8 +292,6 @@ // svuint64_t test_svqrshl_u64_m(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u64,_m,)(pg, op1, op2); } @@ -341,8 +307,6 @@ // svint8_t test_svqrshl_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s8,_x,)(pg, op1, op2); } @@ -360,8 +324,6 @@ // svint16_t test_svqrshl_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s16,_x,)(pg, op1, op2); } @@ -379,8 +341,6 @@ // svint32_t test_svqrshl_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s32,_x,)(pg, op1, op2); } @@ -398,8 +358,6 @@ // svint64_t test_svqrshl_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_s64,_x,)(pg, op1, op2); } @@ -415,8 +373,6 @@ // svuint8_t test_svqrshl_u8_x(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u8,_x,)(pg, op1, op2); } @@ -434,8 +390,6 @@ // svuint16_t test_svqrshl_u16_x(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u16,_x,)(pg, op1, op2); } @@ -453,8 +407,6 @@ // svuint32_t test_svqrshl_u32_x(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u32,_x,)(pg, op1, op2); } @@ -472,8 +424,6 @@ // svuint64_t test_svqrshl_u64_x(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_u64,_x,)(pg, op1, op2); } @@ -495,8 +445,6 @@ // svint8_t test_svqrshl_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s8,_z,)(pg, op1, op2); } @@ -520,8 +468,6 @@ // svint16_t test_svqrshl_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s16,_z,)(pg, op1, op2); } @@ -545,8 +491,6 @@ // svint32_t test_svqrshl_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s32,_z,)(pg, op1, op2); } @@ -570,8 +514,6 @@ // svint64_t test_svqrshl_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s64,_z,)(pg, op1, op2); } @@ -593,8 +535,6 @@ // svuint8_t test_svqrshl_n_u8_z(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u8,_z,)(pg, op1, op2); } @@ -618,8 +558,6 @@ // svuint16_t test_svqrshl_n_u16_z(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u16,_z,)(pg, op1, op2); } @@ -643,8 +581,6 @@ // svuint32_t test_svqrshl_n_u32_z(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u32,_z,)(pg, op1, op2); } @@ -668,8 +604,6 @@ // svuint64_t test_svqrshl_n_u64_z(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u64,_z,)(pg, op1, op2); } @@ -689,8 +623,6 @@ // svint8_t test_svqrshl_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s8,_m,)(pg, op1, op2); } @@ -712,8 +644,6 @@ // svint16_t test_svqrshl_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s16,_m,)(pg, op1, op2); } @@ -735,8 +665,6 @@ // svint32_t test_svqrshl_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s32,_m,)(pg, op1, op2); } @@ -758,8 +686,6 @@ // svint64_t test_svqrshl_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s64,_m,)(pg, op1, op2); } @@ -779,8 +705,6 @@ // svuint8_t test_svqrshl_n_u8_m(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u8,_m,)(pg, op1, op2); } @@ -802,8 +726,6 @@ // svuint16_t test_svqrshl_n_u16_m(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u16,_m,)(pg, op1, op2); } @@ -825,8 +747,6 @@ // svuint32_t test_svqrshl_n_u32_m(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u32,_m,)(pg, op1, op2); } @@ -848,8 +768,6 @@ // svuint64_t test_svqrshl_n_u64_m(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u64,_m,)(pg, op1, op2); } @@ -869,8 +787,6 @@ // svint8_t test_svqrshl_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s8,_x,)(pg, op1, op2); } @@ -892,8 +808,6 @@ // svint16_t test_svqrshl_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s16,_x,)(pg, op1, op2); } @@ -915,8 +829,6 @@ // svint32_t test_svqrshl_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s32,_x,)(pg, op1, op2); } @@ -938,8 +850,6 @@ // svint64_t test_svqrshl_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_s64,_x,)(pg, op1, op2); } @@ -959,8 +869,6 @@ // svuint8_t test_svqrshl_n_u8_x(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u8,_x,)(pg, op1, op2); } @@ -982,8 +890,6 @@ // svuint16_t test_svqrshl_n_u16_x(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u16,_x,)(pg, op1, op2); } @@ -1005,8 +911,6 @@ // svuint32_t test_svqrshl_n_u32_x(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u32,_x,)(pg, op1, op2); } @@ -1028,7 +932,5 @@ // svuint64_t test_svqrshl_n_u64_x(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshl_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshl,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqrshrnb_n_s16(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_s16,,)(op1, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svqrshrnb_n_s16_1(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_s16,,)(op1, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svqrshrnb_n_s32(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_s32,,)(op1, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svqrshrnb_n_s32_1(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_s32,,)(op1, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svqrshrnb_n_s64(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_s64,,)(op1, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svqrshrnb_n_s64_1(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_s64,,)(op1, 32); } @@ -131,8 +117,6 @@ // svuint8_t test_svqrshrnb_n_u16(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_u16,,)(op1, 1); } @@ -148,8 +132,6 @@ // svuint8_t test_svqrshrnb_n_u16_1(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_u16,,)(op1, 8); } @@ -165,8 +147,6 @@ // svuint16_t test_svqrshrnb_n_u32(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_u32,,)(op1, 1); } @@ -182,8 +162,6 @@ // svuint16_t test_svqrshrnb_n_u32_1(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_u32,,)(op1, 16); } @@ -199,8 +177,6 @@ // svuint32_t test_svqrshrnb_n_u64(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_u64,,)(op1, 1); } @@ -216,7 +192,5 @@ // svuint32_t test_svqrshrnb_n_u64_1(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnb,_n_u64,,)(op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqrshrnt_n_s16(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_s16,,)(op, op1, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svqrshrnt_n_s16_1(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_s16,,)(op, op1, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svqrshrnt_n_s32(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_s32,,)(op, op1, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svqrshrnt_n_s32_1(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_s32,,)(op, op1, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svqrshrnt_n_s64(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_s64,,)(op, op1, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svqrshrnt_n_s64_1(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_s64,,)(op, op1, 32); } @@ -131,8 +117,6 @@ // svuint8_t test_svqrshrnt_n_u16(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_u16,,)(op, op1, 1); } @@ -148,8 +132,6 @@ // svuint8_t test_svqrshrnt_n_u16_1(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_u16,,)(op, op1, 8); } @@ -165,8 +147,6 @@ // svuint16_t test_svqrshrnt_n_u32(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_u32,,)(op, op1, 1); } @@ -182,8 +162,6 @@ // svuint16_t test_svqrshrnt_n_u32_1(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_u32,,)(op, op1, 16); } @@ -199,8 +177,6 @@ // svuint32_t test_svqrshrnt_n_u64(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_u64,,)(op, op1, 1); } @@ -216,7 +192,5 @@ // svuint32_t test_svqrshrnt_n_u64_1(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrnt,_n_u64,,)(op, op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svuint8_t test_svqrshrunb_n_s16(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunb,_n_s16,,)(op1, 1); } @@ -46,8 +42,6 @@ // svuint8_t test_svqrshrunb_n_s16_1(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunb,_n_s16,,)(op1, 8); } @@ -63,8 +57,6 @@ // svuint16_t test_svqrshrunb_n_s32(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunb,_n_s32,,)(op1, 1); } @@ -80,8 +72,6 @@ // svuint16_t test_svqrshrunb_n_s32_1(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunb,_n_s32,,)(op1, 16); } @@ -97,8 +87,6 @@ // svuint32_t test_svqrshrunb_n_s64(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunb,_n_s64,,)(op1, 1); } @@ -114,7 +102,5 @@ // svuint32_t test_svqrshrunb_n_s64_1(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunb,_n_s64,,)(op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svuint8_t test_svqrshrunt_n_s16(svuint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunt,_n_s16,,)(op, op1, 1); } @@ -46,8 +42,6 @@ // svuint8_t test_svqrshrunt_n_s16_1(svuint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunt,_n_s16,,)(op, op1, 8); } @@ -63,8 +57,6 @@ // svuint16_t test_svqrshrunt_n_s32(svuint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunt,_n_s32,,)(op, op1, 1); } @@ -80,8 +72,6 @@ // svuint16_t test_svqrshrunt_n_s32_1(svuint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunt,_n_s32,,)(op, op1, 16); } @@ -97,8 +87,6 @@ // svuint32_t test_svqrshrunt_n_s64(svuint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunt,_n_s64,,)(op, op1, 1); } @@ -114,7 +102,5 @@ // svuint32_t test_svqrshrunt_n_s64_1(svuint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqrshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqrshrunt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqrshrunt,_n_s64,,)(op, op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -31,8 +29,6 @@ // svint8_t test_svqshl_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s8,_z,)(pg, op1, op2); } @@ -52,8 +48,6 @@ // svint16_t test_svqshl_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s16,_z,)(pg, op1, op2); } @@ -73,8 +67,6 @@ // svint32_t test_svqshl_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s32,_z,)(pg, op1, op2); } @@ -94,8 +86,6 @@ // svint64_t test_svqshl_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s64,_z,)(pg, op1, op2); } @@ -113,8 +103,6 @@ // svuint8_t test_svqshl_u8_z(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u8,_z,)(pg, op1, op2); } @@ -134,8 +122,6 @@ // svuint16_t test_svqshl_u16_z(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u16,_z,)(pg, op1, op2); } @@ -155,8 +141,6 @@ // svuint32_t test_svqshl_u32_z(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u32,_z,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svuint64_t test_svqshl_u64_z(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u64,_z,)(pg, op1, op2); } @@ -193,8 +175,6 @@ // svint8_t test_svqshl_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s8,_m,)(pg, op1, op2); } @@ -212,8 +192,6 @@ // svint16_t test_svqshl_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s16,_m,)(pg, op1, op2); } @@ -231,8 +209,6 @@ // svint32_t test_svqshl_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s32,_m,)(pg, op1, op2); } @@ -250,8 +226,6 @@ // svint64_t test_svqshl_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s64,_m,)(pg, op1, op2); } @@ -267,8 +241,6 @@ // svuint8_t test_svqshl_u8_m(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u8,_m,)(pg, op1, op2); } @@ -286,8 +258,6 @@ // svuint16_t test_svqshl_u16_m(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u16,_m,)(pg, op1, op2); } @@ -305,8 +275,6 @@ // svuint32_t test_svqshl_u32_m(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u32,_m,)(pg, op1, op2); } @@ -324,8 +292,6 @@ // svuint64_t test_svqshl_u64_m(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u64,_m,)(pg, op1, op2); } @@ -341,8 +307,6 @@ // svint8_t test_svqshl_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s8,_x,)(pg, op1, op2); } @@ -360,8 +324,6 @@ // svint16_t test_svqshl_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s16,_x,)(pg, op1, op2); } @@ -379,8 +341,6 @@ // svint32_t test_svqshl_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s32,_x,)(pg, op1, op2); } @@ -398,8 +358,6 @@ // svint64_t test_svqshl_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_s64,_x,)(pg, op1, op2); } @@ -415,8 +373,6 @@ // svuint8_t test_svqshl_u8_x(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u8,_x,)(pg, op1, op2); } @@ -434,8 +390,6 @@ // svuint16_t test_svqshl_u16_x(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u16,_x,)(pg, op1, op2); } @@ -453,8 +407,6 @@ // svuint32_t test_svqshl_u32_x(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u32,_x,)(pg, op1, op2); } @@ -472,8 +424,6 @@ // svuint64_t test_svqshl_u64_x(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_u64,_x,)(pg, op1, op2); } @@ -495,8 +445,6 @@ // svint8_t test_svqshl_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s8,_z,)(pg, op1, op2); } @@ -520,8 +468,6 @@ // svint16_t test_svqshl_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s16,_z,)(pg, op1, op2); } @@ -545,8 +491,6 @@ // svint32_t test_svqshl_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s32,_z,)(pg, op1, op2); } @@ -570,8 +514,6 @@ // svint64_t test_svqshl_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s64,_z,)(pg, op1, op2); } @@ -593,8 +535,6 @@ // svuint8_t test_svqshl_n_u8_z(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u8,_z,)(pg, op1, op2); } @@ -618,8 +558,6 @@ // svuint16_t test_svqshl_n_u16_z(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u16,_z,)(pg, op1, op2); } @@ -643,8 +581,6 @@ // svuint32_t test_svqshl_n_u32_z(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u32,_z,)(pg, op1, op2); } @@ -668,8 +604,6 @@ // svuint64_t test_svqshl_n_u64_z(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u64,_z,)(pg, op1, op2); } @@ -689,8 +623,6 @@ // svint8_t test_svqshl_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s8,_m,)(pg, op1, op2); } @@ -712,8 +644,6 @@ // svint16_t test_svqshl_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s16,_m,)(pg, op1, op2); } @@ -735,8 +665,6 @@ // svint32_t test_svqshl_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s32,_m,)(pg, op1, op2); } @@ -758,8 +686,6 @@ // svint64_t test_svqshl_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s64,_m,)(pg, op1, op2); } @@ -779,8 +705,6 @@ // svuint8_t test_svqshl_n_u8_m(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u8,_m,)(pg, op1, op2); } @@ -802,8 +726,6 @@ // svuint16_t test_svqshl_n_u16_m(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u16,_m,)(pg, op1, op2); } @@ -825,8 +747,6 @@ // svuint32_t test_svqshl_n_u32_m(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u32,_m,)(pg, op1, op2); } @@ -848,8 +768,6 @@ // svuint64_t test_svqshl_n_u64_m(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u64,_m,)(pg, op1, op2); } @@ -869,8 +787,6 @@ // svint8_t test_svqshl_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s8,_x,)(pg, op1, op2); } @@ -892,8 +808,6 @@ // svint16_t test_svqshl_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s16,_x,)(pg, op1, op2); } @@ -915,8 +829,6 @@ // svint32_t test_svqshl_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s32,_x,)(pg, op1, op2); } @@ -938,8 +850,6 @@ // svint64_t test_svqshl_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_s64,_x,)(pg, op1, op2); } @@ -959,8 +869,6 @@ // svuint8_t test_svqshl_n_u8_x(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u8,_x,)(pg, op1, op2); } @@ -982,8 +890,6 @@ // svuint16_t test_svqshl_n_u16_x(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u16,_x,)(pg, op1, op2); } @@ -1005,8 +911,6 @@ // svuint32_t test_svqshl_n_u32_x(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u32,_x,)(pg, op1, op2); } @@ -1028,7 +932,5 @@ // svuint64_t test_svqshl_n_u64_x(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshl_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshl,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svuint8_t test_svqshlu_n_s8_z(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s8,_z,)(pg, op1, 0); } @@ -50,8 +46,6 @@ // svuint8_t test_svqshlu_n_s8_z_1(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s8,_z,)(pg, op1, 7); } @@ -71,8 +65,6 @@ // svuint16_t test_svqshlu_n_s16_z(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s16,_z,)(pg, op1, 0); } @@ -92,8 +84,6 @@ // svuint16_t test_svqshlu_n_s16_z_1(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s16,_z,)(pg, op1, 15); } @@ -113,8 +103,6 @@ // svuint32_t test_svqshlu_n_s32_z(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s32,_z,)(pg, op1, 0); } @@ -134,8 +122,6 @@ // svuint32_t test_svqshlu_n_s32_z_1(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s32,_z,)(pg, op1, 31); } @@ -155,8 +141,6 @@ // svuint64_t test_svqshlu_n_s64_z(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s64,_z,)(pg, op1, 0); } @@ -176,8 +160,6 @@ // svuint64_t test_svqshlu_n_s64_z_1(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s64,_z,)(pg, op1, 63); } @@ -193,8 +175,6 @@ // svuint8_t test_svqshlu_n_s8_m(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s8,_m,)(pg, op1, 0); } @@ -210,8 +190,6 @@ // svuint8_t test_svqshlu_n_s8_m_1(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s8,_m,)(pg, op1, 7); } @@ -229,8 +207,6 @@ // svuint16_t test_svqshlu_n_s16_m(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s16,_m,)(pg, op1, 0); } @@ -248,8 +224,6 @@ // svuint16_t test_svqshlu_n_s16_m_1(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s16,_m,)(pg, op1, 15); } @@ -267,8 +241,6 @@ // svuint32_t test_svqshlu_n_s32_m(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s32,_m,)(pg, op1, 0); } @@ -286,8 +258,6 @@ // svuint32_t test_svqshlu_n_s32_m_1(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s32,_m,)(pg, op1, 31); } @@ -305,8 +275,6 @@ // svuint64_t test_svqshlu_n_s64_m(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s64,_m,)(pg, op1, 0); } @@ -324,8 +292,6 @@ // svuint64_t test_svqshlu_n_s64_m_1(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s64,_m,)(pg, op1, 63); } @@ -341,8 +307,6 @@ // svuint8_t test_svqshlu_n_s8_x(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s8,_x,)(pg, op1, 0); } @@ -358,8 +322,6 @@ // svuint8_t test_svqshlu_n_s8_x_1(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s8,_x,)(pg, op1, 7); } @@ -377,8 +339,6 @@ // svuint16_t test_svqshlu_n_s16_x(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s16,_x,)(pg, op1, 0); } @@ -396,8 +356,6 @@ // svuint16_t test_svqshlu_n_s16_x_1(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s16,_x,)(pg, op1, 15); } @@ -415,8 +373,6 @@ // svuint32_t test_svqshlu_n_s32_x(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s32,_x,)(pg, op1, 0); } @@ -434,8 +390,6 @@ // svuint32_t test_svqshlu_n_s32_x_1(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s32,_x,)(pg, op1, 31); } @@ -453,8 +407,6 @@ // svuint64_t test_svqshlu_n_s64_x(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s64,_x,)(pg, op1, 0); } @@ -472,7 +424,5 @@ // svuint64_t test_svqshlu_n_s64_x_1(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshlu_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshlu_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshlu,_n_s64,_x,)(pg, op1, 63); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqshrnb_n_s16(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_s16,,)(op1, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svqshrnb_n_s16_1(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_s16,,)(op1, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svqshrnb_n_s32(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_s32,,)(op1, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svqshrnb_n_s32_1(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_s32,,)(op1, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svqshrnb_n_s64(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_s64,,)(op1, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svqshrnb_n_s64_1(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_s64,,)(op1, 32); } @@ -131,8 +117,6 @@ // svuint8_t test_svqshrnb_n_u16(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_u16,,)(op1, 1); } @@ -148,8 +132,6 @@ // svuint8_t test_svqshrnb_n_u16_1(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_u16,,)(op1, 8); } @@ -165,8 +147,6 @@ // svuint16_t test_svqshrnb_n_u32(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_u32,,)(op1, 1); } @@ -182,8 +162,6 @@ // svuint16_t test_svqshrnb_n_u32_1(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_u32,,)(op1, 16); } @@ -199,8 +177,6 @@ // svuint32_t test_svqshrnb_n_u64(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_u64,,)(op1, 1); } @@ -216,7 +192,5 @@ // svuint32_t test_svqshrnb_n_u64_1(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnb,_n_u64,,)(op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqshrnt_n_s16(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_s16,,)(op, op1, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svqshrnt_n_s16_1(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_s16,,)(op, op1, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svqshrnt_n_s32(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_s32,,)(op, op1, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svqshrnt_n_s32_1(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_s32,,)(op, op1, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svqshrnt_n_s64(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_s64,,)(op, op1, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svqshrnt_n_s64_1(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_s64,,)(op, op1, 32); } @@ -131,8 +117,6 @@ // svuint8_t test_svqshrnt_n_u16(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_u16,,)(op, op1, 1); } @@ -148,8 +132,6 @@ // svuint8_t test_svqshrnt_n_u16_1(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_u16,,)(op, op1, 8); } @@ -165,8 +147,6 @@ // svuint16_t test_svqshrnt_n_u32(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_u32,,)(op, op1, 1); } @@ -182,8 +162,6 @@ // svuint16_t test_svqshrnt_n_u32_1(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_u32,,)(op, op1, 16); } @@ -199,8 +177,6 @@ // svuint32_t test_svqshrnt_n_u64(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_u64,,)(op, op1, 1); } @@ -216,7 +192,5 @@ // svuint32_t test_svqshrnt_n_u64_1(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrnt,_n_u64,,)(op, op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svuint8_t test_svqshrunb_n_s16(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunb,_n_s16,,)(op1, 1); } @@ -46,8 +42,6 @@ // svuint8_t test_svqshrunb_n_s16_1(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunb,_n_s16,,)(op1, 8); } @@ -63,8 +57,6 @@ // svuint16_t test_svqshrunb_n_s32(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunb,_n_s32,,)(op1, 1); } @@ -80,8 +72,6 @@ // svuint16_t test_svqshrunb_n_s32_1(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunb,_n_s32,,)(op1, 16); } @@ -97,8 +87,6 @@ // svuint32_t test_svqshrunb_n_s64(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunb,_n_s64,,)(op1, 1); } @@ -114,7 +102,5 @@ // svuint32_t test_svqshrunb_n_s64_1(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunb,_n_s64,,)(op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svuint8_t test_svqshrunt_n_s16(svuint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunt,_n_s16,,)(op, op1, 1); } @@ -46,8 +42,6 @@ // svuint8_t test_svqshrunt_n_s16_1(svuint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunt,_n_s16,,)(op, op1, 8); } @@ -63,8 +57,6 @@ // svuint16_t test_svqshrunt_n_s32(svuint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunt,_n_s32,,)(op, op1, 1); } @@ -80,8 +72,6 @@ // svuint16_t test_svqshrunt_n_s32_1(svuint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunt,_n_s32,,)(op, op1, 16); } @@ -97,8 +87,6 @@ // svuint32_t test_svqshrunt_n_s64(svuint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunt,_n_s64,,)(op, op1, 1); } @@ -114,7 +102,5 @@ // svuint32_t test_svqshrunt_n_s64_1(svuint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqshrunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqshrunt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqshrunt,_n_s64,,)(op, op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -31,8 +29,6 @@ // svint8_t test_svqsub_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s8,_z,)(pg, op1, op2); } @@ -52,8 +48,6 @@ // svint16_t test_svqsub_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s16,_z,)(pg, op1, op2); } @@ -73,8 +67,6 @@ // svint32_t test_svqsub_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s32,_z,)(pg, op1, op2); } @@ -94,8 +86,6 @@ // svint64_t test_svqsub_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s64,_z,)(pg, op1, op2); } @@ -113,8 +103,6 @@ // svuint8_t test_svqsub_u8_z(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u8,_z,)(pg, op1, op2); } @@ -134,8 +122,6 @@ // svuint16_t test_svqsub_u16_z(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u16,_z,)(pg, op1, op2); } @@ -155,8 +141,6 @@ // svuint32_t test_svqsub_u32_z(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u32,_z,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svuint64_t test_svqsub_u64_z(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u64,_z,)(pg, op1, op2); } @@ -193,8 +175,6 @@ // svint8_t test_svqsub_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s8,_m,)(pg, op1, op2); } @@ -212,8 +192,6 @@ // svint16_t test_svqsub_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s16,_m,)(pg, op1, op2); } @@ -231,8 +209,6 @@ // svint32_t test_svqsub_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s32,_m,)(pg, op1, op2); } @@ -250,8 +226,6 @@ // svint64_t test_svqsub_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s64,_m,)(pg, op1, op2); } @@ -267,8 +241,6 @@ // svuint8_t test_svqsub_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u8,_m,)(pg, op1, op2); } @@ -286,8 +258,6 @@ // svuint16_t test_svqsub_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u16,_m,)(pg, op1, op2); } @@ -305,8 +275,6 @@ // svuint32_t test_svqsub_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u32,_m,)(pg, op1, op2); } @@ -324,8 +292,6 @@ // svuint64_t test_svqsub_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u64,_m,)(pg, op1, op2); } @@ -341,8 +307,6 @@ // svint8_t test_svqsub_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s8,_x,)(pg, op1, op2); } @@ -360,8 +324,6 @@ // svint16_t test_svqsub_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s16,_x,)(pg, op1, op2); } @@ -379,8 +341,6 @@ // svint32_t test_svqsub_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s32,_x,)(pg, op1, op2); } @@ -398,8 +358,6 @@ // svint64_t test_svqsub_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_s64,_x,)(pg, op1, op2); } @@ -415,8 +373,6 @@ // svuint8_t test_svqsub_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u8,_x,)(pg, op1, op2); } @@ -434,8 +390,6 @@ // svuint16_t test_svqsub_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u16,_x,)(pg, op1, op2); } @@ -453,8 +407,6 @@ // svuint32_t test_svqsub_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u32,_x,)(pg, op1, op2); } @@ -472,8 +424,6 @@ // svuint64_t test_svqsub_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_u64,_x,)(pg, op1, op2); } @@ -495,8 +445,6 @@ // svint8_t test_svqsub_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s8,_z,)(pg, op1, op2); } @@ -520,8 +468,6 @@ // svint16_t test_svqsub_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s16,_z,)(pg, op1, op2); } @@ -545,8 +491,6 @@ // svint32_t test_svqsub_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s32,_z,)(pg, op1, op2); } @@ -570,8 +514,6 @@ // svint64_t test_svqsub_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s64,_z,)(pg, op1, op2); } @@ -593,8 +535,6 @@ // svuint8_t test_svqsub_n_u8_z(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u8,_z,)(pg, op1, op2); } @@ -618,8 +558,6 @@ // svuint16_t test_svqsub_n_u16_z(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u16,_z,)(pg, op1, op2); } @@ -643,8 +581,6 @@ // svuint32_t test_svqsub_n_u32_z(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u32,_z,)(pg, op1, op2); } @@ -668,8 +604,6 @@ // svuint64_t test_svqsub_n_u64_z(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u64,_z,)(pg, op1, op2); } @@ -689,8 +623,6 @@ // svint8_t test_svqsub_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s8,_m,)(pg, op1, op2); } @@ -712,8 +644,6 @@ // svint16_t test_svqsub_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s16,_m,)(pg, op1, op2); } @@ -735,8 +665,6 @@ // svint32_t test_svqsub_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s32,_m,)(pg, op1, op2); } @@ -758,8 +686,6 @@ // svint64_t test_svqsub_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s64,_m,)(pg, op1, op2); } @@ -779,8 +705,6 @@ // svuint8_t test_svqsub_n_u8_m(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u8,_m,)(pg, op1, op2); } @@ -802,8 +726,6 @@ // svuint16_t test_svqsub_n_u16_m(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u16,_m,)(pg, op1, op2); } @@ -825,8 +747,6 @@ // svuint32_t test_svqsub_n_u32_m(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u32,_m,)(pg, op1, op2); } @@ -848,8 +768,6 @@ // svuint64_t test_svqsub_n_u64_m(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u64,_m,)(pg, op1, op2); } @@ -869,8 +787,6 @@ // svint8_t test_svqsub_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s8,_x,)(pg, op1, op2); } @@ -892,8 +808,6 @@ // svint16_t test_svqsub_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s16,_x,)(pg, op1, op2); } @@ -915,8 +829,6 @@ // svint32_t test_svqsub_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s32,_x,)(pg, op1, op2); } @@ -938,8 +850,6 @@ // svint64_t test_svqsub_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_s64,_x,)(pg, op1, op2); } @@ -959,8 +869,6 @@ // svuint8_t test_svqsub_n_u8_x(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u8,_x,)(pg, op1, op2); } @@ -982,8 +890,6 @@ // svuint16_t test_svqsub_n_u16_x(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u16,_x,)(pg, op1, op2); } @@ -1005,8 +911,6 @@ // svuint32_t test_svqsub_n_u32_x(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u32,_x,)(pg, op1, op2); } @@ -1028,7 +932,5 @@ // svuint64_t test_svqsub_n_u64_x(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsub_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsub_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsub,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -31,8 +29,6 @@ // svint8_t test_svqsubr_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s8,_z,)(pg, op1, op2); } @@ -52,8 +48,6 @@ // svint16_t test_svqsubr_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s16,_z,)(pg, op1, op2); } @@ -73,8 +67,6 @@ // svint32_t test_svqsubr_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s32,_z,)(pg, op1, op2); } @@ -94,8 +86,6 @@ // svint64_t test_svqsubr_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s64,_z,)(pg, op1, op2); } @@ -113,8 +103,6 @@ // svuint8_t test_svqsubr_u8_z(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u8,_z,)(pg, op1, op2); } @@ -134,8 +122,6 @@ // svuint16_t test_svqsubr_u16_z(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u16,_z,)(pg, op1, op2); } @@ -155,8 +141,6 @@ // svuint32_t test_svqsubr_u32_z(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u32,_z,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svuint64_t test_svqsubr_u64_z(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u64,_z,)(pg, op1, op2); } @@ -193,8 +175,6 @@ // svint8_t test_svqsubr_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s8,_m,)(pg, op1, op2); } @@ -212,8 +192,6 @@ // svint16_t test_svqsubr_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s16,_m,)(pg, op1, op2); } @@ -231,8 +209,6 @@ // svint32_t test_svqsubr_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s32,_m,)(pg, op1, op2); } @@ -250,8 +226,6 @@ // svint64_t test_svqsubr_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s64,_m,)(pg, op1, op2); } @@ -267,8 +241,6 @@ // svuint8_t test_svqsubr_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u8,_m,)(pg, op1, op2); } @@ -286,8 +258,6 @@ // svuint16_t test_svqsubr_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u16,_m,)(pg, op1, op2); } @@ -305,8 +275,6 @@ // svuint32_t test_svqsubr_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u32,_m,)(pg, op1, op2); } @@ -324,8 +292,6 @@ // svuint64_t test_svqsubr_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u64,_m,)(pg, op1, op2); } @@ -341,8 +307,6 @@ // svint8_t test_svqsubr_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s8,_x,)(pg, op1, op2); } @@ -360,8 +324,6 @@ // svint16_t test_svqsubr_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s16,_x,)(pg, op1, op2); } @@ -379,8 +341,6 @@ // svint32_t test_svqsubr_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s32,_x,)(pg, op1, op2); } @@ -398,8 +358,6 @@ // svint64_t test_svqsubr_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_s64,_x,)(pg, op1, op2); } @@ -415,8 +373,6 @@ // svuint8_t test_svqsubr_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u8,_x,)(pg, op1, op2); } @@ -434,8 +390,6 @@ // svuint16_t test_svqsubr_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u16,_x,)(pg, op1, op2); } @@ -453,8 +407,6 @@ // svuint32_t test_svqsubr_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u32,_x,)(pg, op1, op2); } @@ -472,8 +424,6 @@ // svuint64_t test_svqsubr_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_u64,_x,)(pg, op1, op2); } @@ -495,8 +445,6 @@ // svint8_t test_svqsubr_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s8,_z,)(pg, op1, op2); } @@ -520,8 +468,6 @@ // svint16_t test_svqsubr_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s16,_z,)(pg, op1, op2); } @@ -545,8 +491,6 @@ // svint32_t test_svqsubr_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s32,_z,)(pg, op1, op2); } @@ -570,8 +514,6 @@ // svint64_t test_svqsubr_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s64,_z,)(pg, op1, op2); } @@ -593,8 +535,6 @@ // svuint8_t test_svqsubr_n_u8_z(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u8,_z,)(pg, op1, op2); } @@ -618,8 +558,6 @@ // svuint16_t test_svqsubr_n_u16_z(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u16,_z,)(pg, op1, op2); } @@ -643,8 +581,6 @@ // svuint32_t test_svqsubr_n_u32_z(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u32,_z,)(pg, op1, op2); } @@ -668,8 +604,6 @@ // svuint64_t test_svqsubr_n_u64_z(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u64,_z,)(pg, op1, op2); } @@ -689,8 +623,6 @@ // svint8_t test_svqsubr_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s8,_m,)(pg, op1, op2); } @@ -712,8 +644,6 @@ // svint16_t test_svqsubr_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s16,_m,)(pg, op1, op2); } @@ -735,8 +665,6 @@ // svint32_t test_svqsubr_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s32,_m,)(pg, op1, op2); } @@ -758,8 +686,6 @@ // svint64_t test_svqsubr_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s64,_m,)(pg, op1, op2); } @@ -779,8 +705,6 @@ // svuint8_t test_svqsubr_n_u8_m(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u8,_m,)(pg, op1, op2); } @@ -802,8 +726,6 @@ // svuint16_t test_svqsubr_n_u16_m(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u16,_m,)(pg, op1, op2); } @@ -825,8 +747,6 @@ // svuint32_t test_svqsubr_n_u32_m(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u32,_m,)(pg, op1, op2); } @@ -848,8 +768,6 @@ // svuint64_t test_svqsubr_n_u64_m(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u64,_m,)(pg, op1, op2); } @@ -869,8 +787,6 @@ // svint8_t test_svqsubr_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s8,_x,)(pg, op1, op2); } @@ -892,8 +808,6 @@ // svint16_t test_svqsubr_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s16,_x,)(pg, op1, op2); } @@ -915,8 +829,6 @@ // svint32_t test_svqsubr_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s32,_x,)(pg, op1, op2); } @@ -938,8 +850,6 @@ // svint64_t test_svqsubr_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_s64,_x,)(pg, op1, op2); } @@ -959,8 +869,6 @@ // svuint8_t test_svqsubr_n_u8_x(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u8,_x,)(pg, op1, op2); } @@ -982,8 +890,6 @@ // svuint16_t test_svqsubr_n_u16_x(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u16,_x,)(pg, op1, op2); } @@ -1005,8 +911,6 @@ // svuint32_t test_svqsubr_n_u32_x(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u32,_x,)(pg, op1, op2); } @@ -1028,7 +932,5 @@ // svuint64_t test_svqsubr_n_u64_x(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svqsubr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqsubr_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqsubr,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqxtnb_s16(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnb,_s16,,)(op1); } @@ -46,8 +42,6 @@ // svint16_t test_svqxtnb_s32(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnb,_s32,,)(op1); } @@ -63,8 +57,6 @@ // svint32_t test_svqxtnb_s64(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnb,_s64,,)(op1); } @@ -80,8 +72,6 @@ // svuint8_t test_svqxtnb_u16(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnb,_u16,,)(op1); } @@ -97,8 +87,6 @@ // svuint16_t test_svqxtnb_u32(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnb,_u32,,)(op1); } @@ -114,7 +102,5 @@ // svuint32_t test_svqxtnb_u64(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnb,_u64,,)(op1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svqxtnt_s16(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnt,_s16,,)(op, op1); } @@ -46,8 +42,6 @@ // svint16_t test_svqxtnt_s32(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnt,_s32,,)(op, op1); } @@ -63,8 +57,6 @@ // svint32_t test_svqxtnt_s64(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnt,_s64,,)(op, op1); } @@ -80,8 +72,6 @@ // svuint8_t test_svqxtnt_u16(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnt,_u16,,)(op, op1); } @@ -97,8 +87,6 @@ // svuint16_t test_svqxtnt_u32(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnt,_u32,,)(op, op1); } @@ -114,7 +102,5 @@ // svuint32_t test_svqxtnt_u64(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtnt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtnt,_u64,,)(op, op1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svuint8_t test_svqxtunb_s16(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtunb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtunb,_s16,,)(op1); } @@ -46,8 +42,6 @@ // svuint16_t test_svqxtunb_s32(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtunb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtunb,_s32,,)(op1); } @@ -63,7 +57,5 @@ // svuint32_t test_svqxtunb_s64(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtunb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtunb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtunb,_s64,,)(op1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -17,53 +15,47 @@ #define SVE_ACLE_FUNC(A1,A2,A3,A4) A1##A2##A3##A4 #endif -// CHECK-LABEL: @test_svqxtunt_u16( +// CHECK-LABEL: @test_svqxtunt_s16( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.sqxtunt.nxv8i16( [[OP:%.*]], [[OP1:%.*]]) // CHECK-NEXT: ret [[TMP0]] // -// CPP-CHECK-LABEL: @_Z17test_svqxtunt_u16u11__SVUint8_tu11__SVInt16_t( +// CPP-CHECK-LABEL: @_Z17test_svqxtunt_s16u11__SVUint8_tu11__SVInt16_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.sqxtunt.nxv8i16( [[OP:%.*]], [[OP1:%.*]]) // CPP-CHECK-NEXT: ret [[TMP0]] // -svuint8_t test_svqxtunt_u16(svuint8_t op, svint16_t op1) +svuint8_t test_svqxtunt_s16(svuint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtunt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtunt,_s16,,)(op, op1); } -// CHECK-LABEL: @test_svqxtunt_u32( +// CHECK-LABEL: @test_svqxtunt_s32( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.sqxtunt.nxv4i32( [[OP:%.*]], [[OP1:%.*]]) // CHECK-NEXT: ret [[TMP0]] // -// CPP-CHECK-LABEL: @_Z17test_svqxtunt_u32u12__SVUint16_tu11__SVInt32_t( +// CPP-CHECK-LABEL: @_Z17test_svqxtunt_s32u12__SVUint16_tu11__SVInt32_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.sqxtunt.nxv4i32( [[OP:%.*]], [[OP1:%.*]]) // CPP-CHECK-NEXT: ret [[TMP0]] // -svuint16_t test_svqxtunt_u32(svuint16_t op, svint32_t op1) +svuint16_t test_svqxtunt_s32(svuint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtunt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtunt,_s32,,)(op, op1); } -// CHECK-LABEL: @test_svqxtunt_u64( +// CHECK-LABEL: @test_svqxtunt_s64( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.sqxtunt.nxv2i64( [[OP:%.*]], [[OP1:%.*]]) // CHECK-NEXT: ret [[TMP0]] // -// CPP-CHECK-LABEL: @_Z17test_svqxtunt_u64u12__SVUint32_tu11__SVInt64_t( +// CPP-CHECK-LABEL: @_Z17test_svqxtunt_s64u12__SVUint32_tu11__SVInt64_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.sqxtunt.nxv2i64( [[OP:%.*]], [[OP1:%.*]]) // CPP-CHECK-NEXT: ret [[TMP0]] // -svuint32_t test_svqxtunt_u64(svuint32_t op, svint64_t op1) +svuint32_t test_svqxtunt_s64(svuint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svqxtunt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svqxtunt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svqxtunt,_s64,,)(op, op1); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svraddhnb_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint16_t test_svraddhnb_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint32_t test_svraddhnb_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint8_t test_svraddhnb_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint16_t test_svraddhnb_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint32_t test_svraddhnb_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint8_t test_svraddhnb_n_s16(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint16_t test_svraddhnb_n_s32(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint32_t test_svraddhnb_n_s64(svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint8_t test_svraddhnb_n_u16(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint16_t test_svraddhnb_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint32_t test_svraddhnb_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svraddhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svraddhnt_s16(svint8_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svraddhnt_s32(svint16_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svraddhnt_s64(svint32_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint8_t test_svraddhnt_u16(svuint8_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint16_t test_svraddhnt_u32(svuint16_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint32_t test_svraddhnt_u64(svuint32_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint8_t test_svraddhnt_n_s16(svint8_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint16_t test_svraddhnt_n_s32(svint16_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint32_t test_svraddhnt_n_s64(svint32_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint8_t test_svraddhnt_n_u16(svuint8_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint16_t test_svraddhnt_n_u32(svuint16_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_n_u32,,)(op1, op2, op3); } @@ -240,7 +216,5 @@ // svuint32_t test_svraddhnt_n_u64(svuint32_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svraddhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svraddhnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svraddhnt,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-sha3 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-sha3 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-sha3 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint64_t test_svrax1_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrax1'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrax1_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrax1,_s64,,)(op1, op2); } @@ -46,7 +42,5 @@ // svuint64_t test_svrax1_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrax1'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrax1_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrax1,_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svuint32_t test_svrecpe_u32_z(svbool_t pg, svuint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svrecpe_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrecpe_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrecpe,_u32,_z,)(pg, op); } @@ -50,8 +46,6 @@ // svuint32_t test_svrecpe_u32_m(svuint32_t inactive, svbool_t pg, svuint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svrecpe_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrecpe_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrecpe,_u32,_m,)(inactive, pg, op); } @@ -69,7 +63,5 @@ // svuint32_t test_svrecpe_u32_x(svbool_t pg, svuint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svrecpe_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrecpe_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrecpe,_u32,_x,)(pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include #ifdef SVE_OVERLOADED_FORMS @@ -28,8 +26,6 @@ // svint8_t test_svrhadd_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s8,_m,)(pg, op1, op2); } @@ -47,8 +43,6 @@ // svint16_t test_svrhadd_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s16,_m,)(pg, op1, op2); } @@ -66,8 +60,6 @@ // svint32_t test_svrhadd_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s32,_m,)(pg, op1, op2); } @@ -85,8 +77,6 @@ // svint64_t test_svrhadd_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s64,_m,)(pg, op1, op2); } @@ -102,8 +92,6 @@ // svuint8_t test_svrhadd_u8_m(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u8,_m,)(pg, op1, op2); } @@ -121,8 +109,6 @@ // svuint16_t test_svrhadd_u16_m(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u16,_m,)(pg, op1, op2); } @@ -141,8 +127,6 @@ svuint32_t test_svrhadd_u32_m(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svrhadd_u32_m - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u32,_m,)(pg, op1, op2); } @@ -160,8 +144,6 @@ // svuint64_t test_svrhadd_u64_m(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u64,_m,)(pg, op1, op2); } @@ -181,8 +163,6 @@ // svint8_t test_svrhadd_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s8,_m,)(pg, op1, op2); } @@ -204,8 +184,6 @@ // svint16_t test_svrhadd_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s16,_m,)(pg, op1, op2); } @@ -227,8 +205,6 @@ // svint32_t test_svrhadd_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s32,_m,)(pg, op1, op2); } @@ -250,8 +226,6 @@ // svint64_t test_svrhadd_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s64,_m,)(pg, op1, op2); } @@ -271,8 +245,6 @@ // svuint8_t test_svrhadd_n_u8_m(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u8,_m,)(pg, op1, op2); } @@ -294,8 +266,6 @@ // svuint16_t test_svrhadd_n_u16_m(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u16,_m,)(pg, op1, op2); } @@ -317,8 +287,6 @@ // svuint32_t test_svrhadd_n_u32_m(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u32,_m,)(pg, op1, op2); } @@ -340,8 +308,6 @@ // svuint64_t test_svrhadd_n_u64_m(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u64,_m,)(pg, op1, op2); } @@ -359,8 +325,6 @@ // svint8_t test_svrhadd_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s8,_z,)(pg, op1, op2); } @@ -380,8 +344,6 @@ // svint16_t test_svrhadd_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s16,_z,)(pg, op1, op2); } @@ -401,8 +363,6 @@ // svint32_t test_svrhadd_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s32,_z,)(pg, op1, op2); } @@ -422,8 +382,6 @@ // svint64_t test_svrhadd_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s64,_z,)(pg, op1, op2); } @@ -441,8 +399,6 @@ // svuint8_t test_svrhadd_u8_z(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u8,_z,)(pg, op1, op2); } @@ -462,8 +418,6 @@ // svuint16_t test_svrhadd_u16_z(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u16,_z,)(pg, op1, op2); } @@ -484,8 +438,6 @@ svuint32_t test_svrhadd_u32_z(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svrhadd_u32_z - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u32,_z,)(pg, op1, op2); } @@ -505,8 +457,6 @@ // svuint64_t test_svrhadd_u64_z(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u64,_z,)(pg, op1, op2); } @@ -528,8 +478,6 @@ // svint8_t test_svrhadd_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s8,_z,)(pg, op1, op2); } @@ -553,8 +501,6 @@ // svint16_t test_svrhadd_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s16,_z,)(pg, op1, op2); } @@ -578,8 +524,6 @@ // svint32_t test_svrhadd_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s32,_z,)(pg, op1, op2); } @@ -603,8 +547,6 @@ // svint64_t test_svrhadd_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s64,_z,)(pg, op1, op2); } @@ -626,8 +568,6 @@ // svuint8_t test_svrhadd_n_u8_z(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u8,_z,)(pg, op1, op2); } @@ -651,8 +591,6 @@ // svuint16_t test_svrhadd_n_u16_z(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u16,_z,)(pg, op1, op2); } @@ -676,8 +614,6 @@ // svuint32_t test_svrhadd_n_u32_z(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u32,_z,)(pg, op1, op2); } @@ -701,8 +637,6 @@ // svuint64_t test_svrhadd_n_u64_z(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u64,_z,)(pg, op1, op2); } @@ -718,8 +652,6 @@ // svint8_t test_svrhadd_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s8,_x,)(pg, op1, op2); } @@ -737,8 +669,6 @@ // svint16_t test_svrhadd_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s16,_x,)(pg, op1, op2); } @@ -756,8 +686,6 @@ // svint32_t test_svrhadd_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s32,_x,)(pg, op1, op2); } @@ -775,8 +703,6 @@ // svint64_t test_svrhadd_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_s64,_x,)(pg, op1, op2); } @@ -792,8 +718,6 @@ // svuint8_t test_svrhadd_u8_x(svbool_t pg, svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u8,_x,)(pg, op1, op2); } @@ -811,8 +735,6 @@ // svuint16_t test_svrhadd_u16_x(svbool_t pg, svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u16,_x,)(pg, op1, op2); } @@ -831,8 +753,6 @@ svuint32_t test_svrhadd_u32_x(svbool_t pg, svuint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svrhadd_u32_x - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u32,_x,)(pg, op1, op2); } @@ -850,8 +770,6 @@ // svuint64_t test_svrhadd_u64_x(svbool_t pg, svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_u64,_x,)(pg, op1, op2); } @@ -871,8 +789,6 @@ // svint8_t test_svrhadd_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s8,_x,)(pg, op1, op2); } @@ -894,8 +810,6 @@ // svint16_t test_svrhadd_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s16,_x,)(pg, op1, op2); } @@ -917,8 +831,6 @@ // svint32_t test_svrhadd_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s32,_x,)(pg, op1, op2); } @@ -940,8 +852,6 @@ // svint64_t test_svrhadd_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_s64,_x,)(pg, op1, op2); } @@ -961,8 +871,6 @@ // svuint8_t test_svrhadd_n_u8_x(svbool_t pg, svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u8,_x,)(pg, op1, op2); } @@ -984,8 +892,6 @@ // svuint16_t test_svrhadd_n_u16_x(svbool_t pg, svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u16,_x,)(pg, op1, op2); } @@ -1007,8 +913,6 @@ // svuint32_t test_svrhadd_n_u32_x(svbool_t pg, svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u32,_x,)(pg, op1, op2); } @@ -1030,7 +934,5 @@ // svuint64_t test_svrhadd_n_u64_x(svbool_t pg, svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrhadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrhadd_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrhadd,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -31,8 +29,6 @@ // svint8_t test_svrshl_s8_z(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s8,_z,)(pg, op1, op2); } @@ -52,8 +48,6 @@ // svint16_t test_svrshl_s16_z(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s16,_z,)(pg, op1, op2); } @@ -73,8 +67,6 @@ // svint32_t test_svrshl_s32_z(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s32,_z,)(pg, op1, op2); } @@ -94,8 +86,6 @@ // svint64_t test_svrshl_s64_z(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s64,_z,)(pg, op1, op2); } @@ -113,8 +103,6 @@ // svuint8_t test_svrshl_u8_z(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u8,_z,)(pg, op1, op2); } @@ -134,8 +122,6 @@ // svuint16_t test_svrshl_u16_z(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u16,_z,)(pg, op1, op2); } @@ -155,8 +141,6 @@ // svuint32_t test_svrshl_u32_z(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u32,_z,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svuint64_t test_svrshl_u64_z(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u64,_z,)(pg, op1, op2); } @@ -193,8 +175,6 @@ // svint8_t test_svrshl_s8_m(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s8,_m,)(pg, op1, op2); } @@ -212,8 +192,6 @@ // svint16_t test_svrshl_s16_m(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s16,_m,)(pg, op1, op2); } @@ -231,8 +209,6 @@ // svint32_t test_svrshl_s32_m(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s32,_m,)(pg, op1, op2); } @@ -250,8 +226,6 @@ // svint64_t test_svrshl_s64_m(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s64,_m,)(pg, op1, op2); } @@ -267,8 +241,6 @@ // svuint8_t test_svrshl_u8_m(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u8,_m,)(pg, op1, op2); } @@ -286,8 +258,6 @@ // svuint16_t test_svrshl_u16_m(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u16,_m,)(pg, op1, op2); } @@ -305,8 +275,6 @@ // svuint32_t test_svrshl_u32_m(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u32,_m,)(pg, op1, op2); } @@ -324,8 +292,6 @@ // svuint64_t test_svrshl_u64_m(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u64,_m,)(pg, op1, op2); } @@ -341,8 +307,6 @@ // svint8_t test_svrshl_s8_x(svbool_t pg, svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s8,_x,)(pg, op1, op2); } @@ -360,8 +324,6 @@ // svint16_t test_svrshl_s16_x(svbool_t pg, svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s16,_x,)(pg, op1, op2); } @@ -379,8 +341,6 @@ // svint32_t test_svrshl_s32_x(svbool_t pg, svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s32,_x,)(pg, op1, op2); } @@ -398,8 +358,6 @@ // svint64_t test_svrshl_s64_x(svbool_t pg, svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_s64,_x,)(pg, op1, op2); } @@ -415,8 +373,6 @@ // svuint8_t test_svrshl_u8_x(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u8,_x,)(pg, op1, op2); } @@ -434,8 +390,6 @@ // svuint16_t test_svrshl_u16_x(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u16,_x,)(pg, op1, op2); } @@ -453,8 +407,6 @@ // svuint32_t test_svrshl_u32_x(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u32,_x,)(pg, op1, op2); } @@ -472,8 +424,6 @@ // svuint64_t test_svrshl_u64_x(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_u64,_x,)(pg, op1, op2); } @@ -495,8 +445,6 @@ // svint8_t test_svrshl_n_s8_z(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s8,_z,)(pg, op1, op2); } @@ -520,8 +468,6 @@ // svint16_t test_svrshl_n_s16_z(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s16,_z,)(pg, op1, op2); } @@ -545,8 +491,6 @@ // svint32_t test_svrshl_n_s32_z(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s32,_z,)(pg, op1, op2); } @@ -570,8 +514,6 @@ // svint64_t test_svrshl_n_s64_z(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s64,_z,)(pg, op1, op2); } @@ -593,8 +535,6 @@ // svuint8_t test_svrshl_n_u8_z(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u8,_z,)(pg, op1, op2); } @@ -618,8 +558,6 @@ // svuint16_t test_svrshl_n_u16_z(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u16,_z,)(pg, op1, op2); } @@ -643,8 +581,6 @@ // svuint32_t test_svrshl_n_u32_z(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u32,_z,)(pg, op1, op2); } @@ -668,8 +604,6 @@ // svuint64_t test_svrshl_n_u64_z(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u64,_z,)(pg, op1, op2); } @@ -689,8 +623,6 @@ // svint8_t test_svrshl_n_s8_m(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s8,_m,)(pg, op1, op2); } @@ -712,8 +644,6 @@ // svint16_t test_svrshl_n_s16_m(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s16,_m,)(pg, op1, op2); } @@ -735,8 +665,6 @@ // svint32_t test_svrshl_n_s32_m(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s32,_m,)(pg, op1, op2); } @@ -758,8 +686,6 @@ // svint64_t test_svrshl_n_s64_m(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s64,_m,)(pg, op1, op2); } @@ -779,8 +705,6 @@ // svuint8_t test_svrshl_n_u8_m(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u8,_m,)(pg, op1, op2); } @@ -802,8 +726,6 @@ // svuint16_t test_svrshl_n_u16_m(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u16,_m,)(pg, op1, op2); } @@ -825,8 +747,6 @@ // svuint32_t test_svrshl_n_u32_m(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u32,_m,)(pg, op1, op2); } @@ -848,8 +768,6 @@ // svuint64_t test_svrshl_n_u64_m(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u64,_m,)(pg, op1, op2); } @@ -869,8 +787,6 @@ // svint8_t test_svrshl_n_s8_x(svbool_t pg, svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s8,_x,)(pg, op1, op2); } @@ -892,8 +808,6 @@ // svint16_t test_svrshl_n_s16_x(svbool_t pg, svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s16,_x,)(pg, op1, op2); } @@ -915,8 +829,6 @@ // svint32_t test_svrshl_n_s32_x(svbool_t pg, svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s32,_x,)(pg, op1, op2); } @@ -938,8 +850,6 @@ // svint64_t test_svrshl_n_s64_x(svbool_t pg, svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_s64,_x,)(pg, op1, op2); } @@ -959,8 +869,6 @@ // svuint8_t test_svrshl_n_u8_x(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u8,_x,)(pg, op1, op2); } @@ -982,8 +890,6 @@ // svuint16_t test_svrshl_n_u16_x(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u16,_x,)(pg, op1, op2); } @@ -1005,8 +911,6 @@ // svuint32_t test_svrshl_n_u32_x(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u32,_x,)(pg, op1, op2); } @@ -1028,7 +932,5 @@ // svuint64_t test_svrshl_n_u64_x(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrshl_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshl_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshl,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svint8_t test_svrshr_n_s8_z(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s8,_z,)(pg, op1, 1); } @@ -50,8 +46,6 @@ // svint8_t test_svrshr_n_s8_z_1(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s8,_z,)(pg, op1, 8); } @@ -71,8 +65,6 @@ // svint16_t test_svrshr_n_s16_z(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s16,_z,)(pg, op1, 1); } @@ -92,8 +84,6 @@ // svint16_t test_svrshr_n_s16_z_1(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s16,_z,)(pg, op1, 16); } @@ -113,8 +103,6 @@ // svint32_t test_svrshr_n_s32_z(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s32,_z,)(pg, op1, 1); } @@ -134,8 +122,6 @@ // svint32_t test_svrshr_n_s32_z_1(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s32,_z,)(pg, op1, 32); } @@ -155,8 +141,6 @@ // svint64_t test_svrshr_n_s64_z(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s64,_z,)(pg, op1, 1); } @@ -176,8 +160,6 @@ // svint64_t test_svrshr_n_s64_z_1(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s64,_z,)(pg, op1, 64); } @@ -195,8 +177,6 @@ // svuint8_t test_svrshr_n_u8_z(svbool_t pg, svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u8,_z,)(pg, op1, 1); } @@ -214,8 +194,6 @@ // svuint8_t test_svrshr_n_u8_z_1(svbool_t pg, svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u8,_z,)(pg, op1, 8); } @@ -235,8 +213,6 @@ // svuint16_t test_svrshr_n_u16_z(svbool_t pg, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u16,_z,)(pg, op1, 1); } @@ -256,8 +232,6 @@ // svuint16_t test_svrshr_n_u16_z_1(svbool_t pg, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u16,_z,)(pg, op1, 16); } @@ -277,8 +251,6 @@ // svuint32_t test_svrshr_n_u32_z(svbool_t pg, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u32,_z,)(pg, op1, 1); } @@ -298,8 +270,6 @@ // svuint32_t test_svrshr_n_u32_z_1(svbool_t pg, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u32,_z,)(pg, op1, 32); } @@ -319,8 +289,6 @@ // svuint64_t test_svrshr_n_u64_z(svbool_t pg, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u64,_z,)(pg, op1, 1); } @@ -340,8 +308,6 @@ // svuint64_t test_svrshr_n_u64_z_1(svbool_t pg, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u64,_z,)(pg, op1, 64); } @@ -357,8 +323,6 @@ // svint8_t test_svrshr_n_s8_m(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s8,_m,)(pg, op1, 1); } @@ -374,8 +338,6 @@ // svint8_t test_svrshr_n_s8_m_1(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s8,_m,)(pg, op1, 8); } @@ -393,8 +355,6 @@ // svint16_t test_svrshr_n_s16_m(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s16,_m,)(pg, op1, 1); } @@ -412,8 +372,6 @@ // svint16_t test_svrshr_n_s16_m_1(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s16,_m,)(pg, op1, 16); } @@ -431,8 +389,6 @@ // svint32_t test_svrshr_n_s32_m(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s32,_m,)(pg, op1, 1); } @@ -450,8 +406,6 @@ // svint32_t test_svrshr_n_s32_m_1(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s32,_m,)(pg, op1, 32); } @@ -469,8 +423,6 @@ // svint64_t test_svrshr_n_s64_m(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s64,_m,)(pg, op1, 1); } @@ -488,8 +440,6 @@ // svint64_t test_svrshr_n_s64_m_1(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s64,_m,)(pg, op1, 64); } @@ -505,8 +455,6 @@ // svuint8_t test_svrshr_n_u8_m(svbool_t pg, svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u8,_m,)(pg, op1, 1); } @@ -522,8 +470,6 @@ // svuint8_t test_svrshr_n_u8_m_1(svbool_t pg, svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u8,_m,)(pg, op1, 8); } @@ -541,8 +487,6 @@ // svuint16_t test_svrshr_n_u16_m(svbool_t pg, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u16,_m,)(pg, op1, 1); } @@ -560,8 +504,6 @@ // svuint16_t test_svrshr_n_u16_m_1(svbool_t pg, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u16,_m,)(pg, op1, 16); } @@ -579,8 +521,6 @@ // svuint32_t test_svrshr_n_u32_m(svbool_t pg, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u32,_m,)(pg, op1, 1); } @@ -598,8 +538,6 @@ // svuint32_t test_svrshr_n_u32_m_1(svbool_t pg, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u32,_m,)(pg, op1, 32); } @@ -617,8 +555,6 @@ // svuint64_t test_svrshr_n_u64_m(svbool_t pg, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u64,_m,)(pg, op1, 1); } @@ -636,8 +572,6 @@ // svuint64_t test_svrshr_n_u64_m_1(svbool_t pg, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u64,_m,)(pg, op1, 64); } @@ -653,8 +587,6 @@ // svint8_t test_svrshr_n_s8_x(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s8,_x,)(pg, op1, 1); } @@ -670,8 +602,6 @@ // svint8_t test_svrshr_n_s8_x_1(svbool_t pg, svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s8,_x,)(pg, op1, 8); } @@ -689,8 +619,6 @@ // svint16_t test_svrshr_n_s16_x(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s16,_x,)(pg, op1, 1); } @@ -708,8 +636,6 @@ // svint16_t test_svrshr_n_s16_x_1(svbool_t pg, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s16,_x,)(pg, op1, 16); } @@ -727,8 +653,6 @@ // svint32_t test_svrshr_n_s32_x(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s32,_x,)(pg, op1, 1); } @@ -746,8 +670,6 @@ // svint32_t test_svrshr_n_s32_x_1(svbool_t pg, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s32,_x,)(pg, op1, 32); } @@ -765,8 +687,6 @@ // svint64_t test_svrshr_n_s64_x(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s64,_x,)(pg, op1, 1); } @@ -784,8 +704,6 @@ // svint64_t test_svrshr_n_s64_x_1(svbool_t pg, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_s64,_x,)(pg, op1, 64); } @@ -801,8 +719,6 @@ // svuint8_t test_svrshr_n_u8_x(svbool_t pg, svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u8,_x,)(pg, op1, 1); } @@ -818,8 +734,6 @@ // svuint8_t test_svrshr_n_u8_x_1(svbool_t pg, svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u8,_x,)(pg, op1, 8); } @@ -837,8 +751,6 @@ // svuint16_t test_svrshr_n_u16_x(svbool_t pg, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u16,_x,)(pg, op1, 1); } @@ -856,8 +768,6 @@ // svuint16_t test_svrshr_n_u16_x_1(svbool_t pg, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u16,_x,)(pg, op1, 16); } @@ -875,8 +785,6 @@ // svuint32_t test_svrshr_n_u32_x(svbool_t pg, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u32,_x,)(pg, op1, 1); } @@ -894,8 +802,6 @@ // svuint32_t test_svrshr_n_u32_x_1(svbool_t pg, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u32,_x,)(pg, op1, 32); } @@ -913,8 +819,6 @@ // svuint64_t test_svrshr_n_u64_x(svbool_t pg, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u64,_x,)(pg, op1, 1); } @@ -932,7 +836,5 @@ // svuint64_t test_svrshr_n_u64_x_1(svbool_t pg, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshr_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshr_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshr,_n_u64,_x,)(pg, op1, 64); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svrshrnb_n_s16(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_s16,,)(op1, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svrshrnb_n_s16_1(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_s16,,)(op1, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svrshrnb_n_s32(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_s32,,)(op1, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svrshrnb_n_s32_1(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_s32,,)(op1, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svrshrnb_n_s64(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_s64,,)(op1, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svrshrnb_n_s64_1(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_s64,,)(op1, 32); } @@ -131,8 +117,6 @@ // svuint8_t test_svrshrnb_n_u16(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_u16,,)(op1, 1); } @@ -148,8 +132,6 @@ // svuint8_t test_svrshrnb_n_u16_1(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_u16,,)(op1, 8); } @@ -165,8 +147,6 @@ // svuint16_t test_svrshrnb_n_u32(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_u32,,)(op1, 1); } @@ -182,8 +162,6 @@ // svuint16_t test_svrshrnb_n_u32_1(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_u32,,)(op1, 16); } @@ -199,8 +177,6 @@ // svuint32_t test_svrshrnb_n_u64(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_u64,,)(op1, 1); } @@ -216,7 +192,5 @@ // svuint32_t test_svrshrnb_n_u64_1(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnb,_n_u64,,)(op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svrshrnt_n_s16(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_s16,,)(op, op1, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svrshrnt_n_s16_1(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_s16,,)(op, op1, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svrshrnt_n_s32(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_s32,,)(op, op1, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svrshrnt_n_s32_1(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_s32,,)(op, op1, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svrshrnt_n_s64(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_s64,,)(op, op1, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svrshrnt_n_s64_1(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_s64,,)(op, op1, 32); } @@ -131,8 +117,6 @@ // svuint8_t test_svrshrnt_n_u16(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_u16,,)(op, op1, 1); } @@ -148,8 +132,6 @@ // svuint8_t test_svrshrnt_n_u16_1(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_u16,,)(op, op1, 8); } @@ -165,8 +147,6 @@ // svuint16_t test_svrshrnt_n_u32(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_u32,,)(op, op1, 1); } @@ -182,8 +162,6 @@ // svuint16_t test_svrshrnt_n_u32_1(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_u32,,)(op, op1, 16); } @@ -199,8 +177,6 @@ // svuint32_t test_svrshrnt_n_u64(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_u64,,)(op, op1, 1); } @@ -216,7 +192,5 @@ // svuint32_t test_svrshrnt_n_u64_1(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svrshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrshrnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrshrnt,_n_u64,,)(op, op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,8 +29,6 @@ // svuint32_t test_svrsqrte_u32_z(svbool_t pg, svuint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svrsqrte_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsqrte_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsqrte,_u32,_z,)(pg, op); } @@ -50,8 +46,6 @@ // svuint32_t test_svrsqrte_u32_m(svuint32_t inactive, svbool_t pg, svuint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svrsqrte_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsqrte_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsqrte,_u32,_m,)(inactive, pg, op); } @@ -69,7 +63,5 @@ // svuint32_t test_svrsqrte_u32_x(svbool_t pg, svuint32_t op) { - // overload-warning@+2 {{call to undeclared function 'svrsqrte_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsqrte_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsqrte,_u32,_x,)(pg, op); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svrsra_n_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_s8,,)(op1, op2, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svrsra_n_s8_1(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_s8,,)(op1, op2, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svrsra_n_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_s16,,)(op1, op2, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svrsra_n_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_s16,,)(op1, op2, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svrsra_n_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_s32,,)(op1, op2, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svrsra_n_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_s32,,)(op1, op2, 32); } @@ -131,8 +117,6 @@ // svint64_t test_svrsra_n_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_s64,,)(op1, op2, 1); } @@ -148,8 +132,6 @@ // svint64_t test_svrsra_n_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_s64,,)(op1, op2, 64); } @@ -165,8 +147,6 @@ // svuint8_t test_svrsra_n_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_u8,,)(op1, op2, 1); } @@ -182,8 +162,6 @@ // svuint8_t test_svrsra_n_u8_1(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_u8,,)(op1, op2, 8); } @@ -199,8 +177,6 @@ // svuint16_t test_svrsra_n_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_u16,,)(op1, op2, 1); } @@ -216,8 +192,6 @@ // svuint16_t test_svrsra_n_u16_1(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_u16,,)(op1, op2, 16); } @@ -233,8 +207,6 @@ // svuint32_t test_svrsra_n_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_u32,,)(op1, op2, 1); } @@ -250,8 +222,6 @@ // svuint32_t test_svrsra_n_u32_1(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_u32,,)(op1, op2, 32); } @@ -267,8 +237,6 @@ // svuint64_t test_svrsra_n_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_u64,,)(op1, op2, 1); } @@ -284,7 +252,5 @@ // svuint64_t test_svrsra_n_u64_1(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsra_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsra,_n_u64,,)(op1, op2, 64); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svrsubhnb_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint16_t test_svrsubhnb_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint32_t test_svrsubhnb_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint8_t test_svrsubhnb_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint16_t test_svrsubhnb_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint32_t test_svrsubhnb_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint8_t test_svrsubhnb_n_s16(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint16_t test_svrsubhnb_n_s32(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint32_t test_svrsubhnb_n_s64(svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint8_t test_svrsubhnb_n_u16(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint16_t test_svrsubhnb_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint32_t test_svrsubhnb_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svrsubhnt_s16(svint8_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svrsubhnt_s32(svint16_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svrsubhnt_s64(svint32_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint8_t test_svrsubhnt_u16(svuint8_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint16_t test_svrsubhnt_u32(svuint16_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint32_t test_svrsubhnt_u64(svuint32_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint8_t test_svrsubhnt_n_s16(svint8_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint16_t test_svrsubhnt_n_s32(svint16_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint32_t test_svrsubhnt_n_s64(svint32_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint8_t test_svrsubhnt_n_u16(svuint8_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint16_t test_svrsubhnt_n_u32(svuint16_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_n_u32,,)(op1, op2, op3); } @@ -240,7 +216,5 @@ // svuint32_t test_svrsubhnt_n_u64(svuint32_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svrsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svrsubhnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svrsubhnt,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint32_t test_svsbclb_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsbclb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsbclb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsbclb,_u32,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svuint64_t test_svsbclb_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsbclb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsbclb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsbclb,_u64,,)(op1, op2, op3); } @@ -67,8 +61,6 @@ // svuint32_t test_svsbclb_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsbclb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsbclb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsbclb,_n_u32,,)(op1, op2, op3); } @@ -88,7 +80,5 @@ // svuint64_t test_svsbclb_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsbclb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsbclb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsbclb,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svuint32_t test_svsbclt_u32(svuint32_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsbclt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsbclt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsbclt,_u32,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svuint64_t test_svsbclt_u64(svuint64_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsbclt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsbclt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsbclt,_u64,,)(op1, op2, op3); } @@ -67,8 +61,6 @@ // svuint32_t test_svsbclt_n_u32(svuint32_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsbclt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsbclt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsbclt,_n_u32,,)(op1, op2, op3); } @@ -88,7 +80,5 @@ // svuint64_t test_svsbclt_n_u64(svuint64_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsbclt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsbclt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsbclt,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint16_t test_svshllb_n_s16(svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_s16,,)(op1, 0); } @@ -46,8 +42,6 @@ // svint16_t test_svshllb_n_s16_1(svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_s16,,)(op1, 7); } @@ -63,8 +57,6 @@ // svint32_t test_svshllb_n_s32(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_s32,,)(op1, 0); } @@ -80,8 +72,6 @@ // svint32_t test_svshllb_n_s32_1(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_s32,,)(op1, 15); } @@ -97,8 +87,6 @@ // svint64_t test_svshllb_n_s64(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_s64,,)(op1, 0); } @@ -114,8 +102,6 @@ // svint64_t test_svshllb_n_s64_1(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_s64,,)(op1, 31); } @@ -131,8 +117,6 @@ // svuint16_t test_svshllb_n_u16(svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_u16,,)(op1, 0); } @@ -148,8 +132,6 @@ // svuint16_t test_svshllb_n_u16_1(svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_u16,,)(op1, 7); } @@ -165,8 +147,6 @@ // svuint32_t test_svshllb_n_u32(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_u32,,)(op1, 0); } @@ -182,8 +162,6 @@ // svuint32_t test_svshllb_n_u32_1(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_u32,,)(op1, 15); } @@ -199,8 +177,6 @@ // svuint64_t test_svshllb_n_u64(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_u64,,)(op1, 0); } @@ -216,7 +192,5 @@ // svuint64_t test_svshllb_n_u64_1(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllb,_n_u64,,)(op1, 31); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint16_t test_svshllt_n_s16(svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_s16,,)(op1, 0); } @@ -46,8 +42,6 @@ // svint16_t test_svshllt_n_s16_1(svint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_s16,,)(op1, 7); } @@ -63,8 +57,6 @@ // svint32_t test_svshllt_n_s32(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_s32,,)(op1, 0); } @@ -80,8 +72,6 @@ // svint32_t test_svshllt_n_s32_1(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_s32,,)(op1, 15); } @@ -97,8 +87,6 @@ // svint64_t test_svshllt_n_s64(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_s64,,)(op1, 0); } @@ -114,8 +102,6 @@ // svint64_t test_svshllt_n_s64_1(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_s64,,)(op1, 31); } @@ -131,8 +117,6 @@ // svuint16_t test_svshllt_n_u16(svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_u16,,)(op1, 0); } @@ -148,8 +132,6 @@ // svuint16_t test_svshllt_n_u16_1(svuint8_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_u16,,)(op1, 7); } @@ -165,8 +147,6 @@ // svuint32_t test_svshllt_n_u32(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_u32,,)(op1, 0); } @@ -182,8 +162,6 @@ // svuint32_t test_svshllt_n_u32_1(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_u32,,)(op1, 15); } @@ -199,8 +177,6 @@ // svuint64_t test_svshllt_n_u64(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_u64,,)(op1, 0); } @@ -216,7 +192,5 @@ // svuint64_t test_svshllt_n_u64_1(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshllt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshllt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshllt,_n_u64,,)(op1, 31); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svshrnb_n_s16(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_s16,,)(op1, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svshrnb_n_s16_1(svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_s16,,)(op1, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svshrnb_n_s32(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_s32,,)(op1, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svshrnb_n_s32_1(svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_s32,,)(op1, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svshrnb_n_s64(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_s64,,)(op1, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svshrnb_n_s64_1(svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_s64,,)(op1, 32); } @@ -131,8 +117,6 @@ // svuint8_t test_svshrnb_n_u16(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_u16,,)(op1, 1); } @@ -148,8 +132,6 @@ // svuint8_t test_svshrnb_n_u16_1(svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_u16,,)(op1, 8); } @@ -165,8 +147,6 @@ // svuint16_t test_svshrnb_n_u32(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_u32,,)(op1, 1); } @@ -182,8 +162,6 @@ // svuint16_t test_svshrnb_n_u32_1(svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_u32,,)(op1, 16); } @@ -199,8 +177,6 @@ // svuint32_t test_svshrnb_n_u64(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_u64,,)(op1, 1); } @@ -216,7 +192,5 @@ // svuint32_t test_svshrnb_n_u64_1(svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnb,_n_u64,,)(op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svshrnt_n_s16(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_s16,,)(op, op1, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svshrnt_n_s16_1(svint8_t op, svint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_s16,,)(op, op1, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svshrnt_n_s32(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_s32,,)(op, op1, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svshrnt_n_s32_1(svint16_t op, svint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_s32,,)(op, op1, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svshrnt_n_s64(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_s64,,)(op, op1, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svshrnt_n_s64_1(svint32_t op, svint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_s64,,)(op, op1, 32); } @@ -131,8 +117,6 @@ // svuint8_t test_svshrnt_n_u16(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_u16,,)(op, op1, 1); } @@ -148,8 +132,6 @@ // svuint8_t test_svshrnt_n_u16_1(svuint8_t op, svuint16_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_u16,,)(op, op1, 8); } @@ -165,8 +147,6 @@ // svuint16_t test_svshrnt_n_u32(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_u32,,)(op, op1, 1); } @@ -182,8 +162,6 @@ // svuint16_t test_svshrnt_n_u32_1(svuint16_t op, svuint32_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_u32,,)(op, op1, 16); } @@ -199,8 +177,6 @@ // svuint32_t test_svshrnt_n_u64(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_u64,,)(op, op1, 1); } @@ -216,7 +192,5 @@ // svuint32_t test_svshrnt_n_u64_1(svuint32_t op, svuint64_t op1) { - // overload-warning@+2 {{call to undeclared function 'svshrnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svshrnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svshrnt,_n_u64,,)(op, op1, 32); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svsli_n_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_s8,,)(op1, op2, 0); } @@ -46,8 +42,6 @@ // svint8_t test_svsli_n_s8_1(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_s8,,)(op1, op2, 7); } @@ -63,8 +57,6 @@ // svint16_t test_svsli_n_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_s16,,)(op1, op2, 0); } @@ -80,8 +72,6 @@ // svint16_t test_svsli_n_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_s16,,)(op1, op2, 15); } @@ -97,8 +87,6 @@ // svint32_t test_svsli_n_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_s32,,)(op1, op2, 0); } @@ -114,8 +102,6 @@ // svint32_t test_svsli_n_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_s32,,)(op1, op2, 31); } @@ -131,8 +117,6 @@ // svint64_t test_svsli_n_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_s64,,)(op1, op2, 0); } @@ -148,8 +132,6 @@ // svint64_t test_svsli_n_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_s64,,)(op1, op2, 63); } @@ -165,8 +147,6 @@ // svuint8_t test_svsli_n_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_u8,,)(op1, op2, 0); } @@ -182,8 +162,6 @@ // svuint8_t test_svsli_n_u8_1(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_u8,,)(op1, op2, 7); } @@ -199,8 +177,6 @@ // svuint16_t test_svsli_n_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_u16,,)(op1, op2, 0); } @@ -216,8 +192,6 @@ // svuint16_t test_svsli_n_u16_1(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_u16,,)(op1, op2, 15); } @@ -233,8 +207,6 @@ // svuint32_t test_svsli_n_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_u32,,)(op1, op2, 0); } @@ -250,8 +222,6 @@ // svuint32_t test_svsli_n_u32_1(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_u32,,)(op1, op2, 31); } @@ -267,8 +237,6 @@ // svuint64_t test_svsli_n_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_u64,,)(op1, op2, 0); } @@ -284,7 +252,5 @@ // svuint64_t test_svsli_n_u64_1(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsli'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsli_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsli,_n_u64,,)(op1, op2, 63); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-sm4 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-sm4 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-sm4 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,7 +27,5 @@ // svuint32_t test_svsm4e_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsm4e'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsm4e_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsm4e,_u32,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2-sm4 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-sm4 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2-sm4 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,7 +27,5 @@ // svuint32_t test_svsm4ekey_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsm4ekey'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsm4ekey_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsm4ekey,_u32,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include #ifdef SVE_OVERLOADED_FORMS @@ -28,8 +26,6 @@ // svuint8_t test_svsqadd_u8_m(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u8,_m,)(pg, op1, op2); } @@ -47,8 +43,6 @@ // svuint16_t test_svsqadd_u16_m(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u16,_m,)(pg, op1, op2); } @@ -67,8 +61,6 @@ svuint32_t test_svsqadd_u32_m(svbool_t pg, svuint32_t op1, svint32_t op2) { // CHECKA-LABEL: test_svsqadd_u32_m - // overload-warning@+2 {{call to undeclared function 'svsqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u32,_m,)(pg, op1, op2); } @@ -86,8 +78,6 @@ // svuint64_t test_svsqadd_u64_m(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u64,_m,)(pg, op1, op2); } @@ -107,8 +97,6 @@ // svuint8_t test_svsqadd_n_u8_m(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u8,_m,)(pg, op1, op2); } @@ -130,8 +118,6 @@ // svuint16_t test_svsqadd_n_u16_m(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u16,_m,)(pg, op1, op2); } @@ -153,8 +139,6 @@ // svuint32_t test_svsqadd_n_u32_m(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u32,_m,)(pg, op1, op2); } @@ -176,8 +160,6 @@ // svuint64_t test_svsqadd_n_u64_m(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u64,_m,)(pg, op1, op2); } @@ -195,8 +177,6 @@ // svuint8_t test_svsqadd_u8_z(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u8,_z,)(pg, op1, op2); } @@ -216,8 +196,6 @@ // svuint16_t test_svsqadd_u16_z(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u16,_z,)(pg, op1, op2); } @@ -237,8 +215,6 @@ // svuint32_t test_svsqadd_u32_z(svbool_t pg, svuint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u32,_z,)(pg, op1, op2); } @@ -258,8 +234,6 @@ // svuint64_t test_svsqadd_u64_z(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u64,_z,)(pg, op1, op2); } @@ -281,8 +255,6 @@ // svuint8_t test_svsqadd_n_u8_z(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u8,_z,)(pg, op1, op2); } @@ -306,8 +278,6 @@ // svuint16_t test_svsqadd_n_u16_z(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u16,_z,)(pg, op1, op2); } @@ -331,8 +301,6 @@ // svuint32_t test_svsqadd_n_u32_z(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u32,_z,)(pg, op1, op2); } @@ -356,8 +324,6 @@ // svuint64_t test_svsqadd_n_u64_z(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u64,_z,)(pg, op1, op2); } @@ -373,8 +339,6 @@ // svuint8_t test_svsqadd_u8_x(svbool_t pg, svuint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u8,_x,)(pg, op1, op2); } @@ -392,8 +356,6 @@ // svuint16_t test_svsqadd_u16_x(svbool_t pg, svuint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u16,_x,)(pg, op1, op2); } @@ -412,8 +374,6 @@ svuint32_t test_svsqadd_u32_x(svbool_t pg, svuint32_t op1, svint32_t op2) { // CHECKA-LABEL: test_svsqadd_u32_x - // overload-warning@+2 {{call to undeclared function 'svsqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u32,_x,)(pg, op1, op2); } @@ -431,8 +391,6 @@ // svuint64_t test_svsqadd_u64_x(svbool_t pg, svuint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_u64,_x,)(pg, op1, op2); } @@ -452,8 +410,6 @@ // svuint8_t test_svsqadd_n_u8_x(svbool_t pg, svuint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u8,_x,)(pg, op1, op2); } @@ -475,8 +431,6 @@ // svuint16_t test_svsqadd_n_u16_x(svbool_t pg, svuint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u16,_x,)(pg, op1, op2); } @@ -498,8 +452,6 @@ // svuint32_t test_svsqadd_n_u32_x(svbool_t pg, svuint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u32,_x,)(pg, op1, op2); } @@ -521,7 +473,5 @@ // svuint64_t test_svsqadd_n_u64_x(svbool_t pg, svuint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsqadd_n_u64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsqadd,_n_u64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svsra_n_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_s8,,)(op1, op2, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svsra_n_s8_1(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_s8,,)(op1, op2, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svsra_n_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_s16,,)(op1, op2, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svsra_n_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_s16,,)(op1, op2, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svsra_n_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_s32,,)(op1, op2, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svsra_n_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_s32,,)(op1, op2, 32); } @@ -131,8 +117,6 @@ // svint64_t test_svsra_n_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_s64,,)(op1, op2, 1); } @@ -148,8 +132,6 @@ // svint64_t test_svsra_n_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_s64,,)(op1, op2, 64); } @@ -165,8 +147,6 @@ // svuint8_t test_svsra_n_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_u8,,)(op1, op2, 1); } @@ -182,8 +162,6 @@ // svuint8_t test_svsra_n_u8_1(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_u8,,)(op1, op2, 8); } @@ -199,8 +177,6 @@ // svuint16_t test_svsra_n_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_u16,,)(op1, op2, 1); } @@ -216,8 +192,6 @@ // svuint16_t test_svsra_n_u16_1(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_u16,,)(op1, op2, 16); } @@ -233,8 +207,6 @@ // svuint32_t test_svsra_n_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_u32,,)(op1, op2, 1); } @@ -250,8 +222,6 @@ // svuint32_t test_svsra_n_u32_1(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_u32,,)(op1, op2, 32); } @@ -267,8 +237,6 @@ // svuint64_t test_svsra_n_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_u64,,)(op1, op2, 1); } @@ -284,7 +252,5 @@ // svuint64_t test_svsra_n_u64_1(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsra'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsra_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsra,_n_u64,,)(op1, op2, 64); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svsri_n_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_s8,,)(op1, op2, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svsri_n_s8_1(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_s8,,)(op1, op2, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svsri_n_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_s16,,)(op1, op2, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svsri_n_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_s16,,)(op1, op2, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svsri_n_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_s32,,)(op1, op2, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svsri_n_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_s32,,)(op1, op2, 32); } @@ -131,8 +117,6 @@ // svint64_t test_svsri_n_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_s64,,)(op1, op2, 1); } @@ -148,8 +132,6 @@ // svint64_t test_svsri_n_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_s64,,)(op1, op2, 64); } @@ -165,8 +147,6 @@ // svuint8_t test_svsri_n_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_u8,,)(op1, op2, 1); } @@ -182,8 +162,6 @@ // svuint8_t test_svsri_n_u8_1(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_u8,,)(op1, op2, 8); } @@ -199,8 +177,6 @@ // svuint16_t test_svsri_n_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_u16,,)(op1, op2, 1); } @@ -216,8 +192,6 @@ // svuint16_t test_svsri_n_u16_1(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_u16,,)(op1, op2, 16); } @@ -233,8 +207,6 @@ // svuint32_t test_svsri_n_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_u32,,)(op1, op2, 1); } @@ -250,8 +222,6 @@ // svuint32_t test_svsri_n_u32_1(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_u32,,)(op1, op2, 32); } @@ -267,8 +237,6 @@ // svuint64_t test_svsri_n_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_u64,,)(op1, op2, 1); } @@ -284,7 +252,5 @@ // svuint64_t test_svsri_n_u64_1(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsri'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsri_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsri,_n_u64,,)(op1, op2, 64); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -30,8 +28,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_s32(svbool_t pg, svuint32_t bases, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, , _s32)(pg, bases, data); } @@ -48,8 +44,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_s64(svbool_t pg, svuint64_t bases, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, , _s64)(pg, bases, data); } @@ -66,8 +60,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_u32(svbool_t pg, svuint32_t bases, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, , _u32)(pg, bases, data); } @@ -84,8 +76,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_u64(svbool_t pg, svuint64_t bases, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, , _u64)(pg, bases, data); } @@ -102,8 +92,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_f32(svbool_t pg, svuint32_t bases, svfloat32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, , _f32)(pg, bases, data); } @@ -120,8 +108,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_f64(svbool_t pg, svuint64_t bases, svfloat64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, , _f64)(pg, bases, data); } @@ -138,8 +124,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_s64offset_s64(svbool_t pg, int64_t *base, svint64_t offsets, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, s64, offset, _s64)(pg, base, offsets, data); } @@ -156,8 +140,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_s64offset_u64(svbool_t pg, uint64_t *base, svint64_t offsets, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, s64, offset, _u64)(pg, base, offsets, data); } @@ -174,8 +156,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_s64offset_f64(svbool_t pg, float64_t *base, svint64_t offsets, svfloat64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_s64offset_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, s64, offset, _f64)(pg, base, offsets, data); } @@ -192,8 +172,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32offset_s32(svbool_t pg, int32_t *base, svuint32_t offsets, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u32, offset, _s32)(pg, base, offsets, data); } @@ -210,8 +188,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64offset_s64(svbool_t pg, int64_t *base, svuint64_t offsets, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u64, offset, _s64)(pg, base, offsets, data); } @@ -228,8 +204,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32offset_u32(svbool_t pg, uint32_t *base, svuint32_t offsets, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u32, offset, _u32)(pg, base, offsets, data); } @@ -246,8 +220,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64offset_u64(svbool_t pg, uint64_t *base, svuint64_t offsets, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u64, offset, _u64)(pg, base, offsets, data); } @@ -264,8 +236,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32offset_f32(svbool_t pg, float32_t *base, svuint32_t offsets, svfloat32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32offset_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u32, offset, _f32)(pg, base, offsets, data); } @@ -282,8 +252,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64offset_f64(svbool_t pg, float64_t *base, svuint64_t offsets, svfloat64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64offset_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u64, offset, _f64)(pg, base, offsets, data); } @@ -300,8 +268,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_offset_s32(svbool_t pg, svuint32_t bases, int64_t offset, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _offset, _s32)(pg, bases, offset, data); } @@ -318,8 +284,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _offset, _s64)(pg, bases, offset, data); } @@ -336,8 +300,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_offset_u32(svbool_t pg, svuint32_t bases, int64_t offset, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _offset, _u32)(pg, bases, offset, data); } @@ -354,8 +316,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _offset, _u64)(pg, bases, offset, data); } @@ -372,8 +332,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_offset_f32(svbool_t pg, svuint32_t bases, int64_t offset, svfloat32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_offset_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _offset, _f32)(pg, bases, offset, data); } @@ -390,8 +348,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_offset_f64(svbool_t pg, svuint64_t bases, int64_t offset, svfloat64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_offset_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _offset, _f64)(pg, bases, offset, data); } @@ -408,8 +364,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_s64index_s64(svbool_t pg, int64_t *base, svint64_t indices, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_s64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, s64, index, _s64)(pg, base, indices, data); } @@ -426,8 +380,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_s64index_u64(svbool_t pg, uint64_t *base, svint64_t indices, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_s64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, s64, index, _u64)(pg, base, indices, data); } @@ -444,8 +396,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_s64index_f64(svbool_t pg, float64_t *base, svint64_t indices, svfloat64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_s64index_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, s64, index, _f64)(pg, base, indices, data); } @@ -462,8 +412,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64index_s64(svbool_t pg, int64_t *base, svuint64_t indices, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u64, index, _s64)(pg, base, indices, data); } @@ -480,8 +428,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64index_u64(svbool_t pg, uint64_t *base, svuint64_t indices, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u64, index, _u64)(pg, base, indices, data); } @@ -498,8 +444,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64index_f64(svbool_t pg, float64_t *base, svuint64_t indices, svfloat64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64index_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter_, u64, index, _f64)(pg, base, indices, data); } @@ -518,8 +462,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_index_s32(svbool_t pg, svuint32_t bases, int64_t index, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_index_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _index, _s32)(pg, bases, index, data); } @@ -538,8 +480,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_index_s64(svbool_t pg, svuint64_t bases, int64_t index, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _index, _s64)(pg, bases, index, data); } @@ -558,8 +498,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_index_u32(svbool_t pg, svuint32_t bases, int64_t index, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_index_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _index, _u32)(pg, bases, index, data); } @@ -578,8 +516,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_index_u64(svbool_t pg, svuint64_t bases, int64_t index, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _index, _u64)(pg, bases, index, data); } @@ -598,8 +534,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u32base_index_f32(svbool_t pg, svuint32_t bases, int64_t index, svfloat32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u32base_index_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _index, _f32)(pg, bases, index, data); } @@ -618,7 +552,5 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1_scatter_u64base_index_f64(svbool_t pg, svuint64_t bases, int64_t index, svfloat64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1_scatter_u64base_index_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _index, _f64)(pg, bases, index, data); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u32base_s32(svbool_t pg, svuint32_t bases, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u32base_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter, _u32base, , _s32)(pg, bases, data); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u64base_s64(svbool_t pg, svuint64_t bases, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter, _u64base, , _s64)(pg, bases, data); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u32base_u32(svbool_t pg, svuint32_t bases, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u32base_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter, _u32base, , _u32)(pg, bases, data); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u64base_u64(svbool_t pg, svuint64_t bases, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter, _u64base, , _u64)(pg, bases, data); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_s64offset_s64(svbool_t pg, int8_t *base, svint64_t offsets, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter_, s64, offset, _s64)(pg, base, offsets, data); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_s64offset_u64(svbool_t pg, uint8_t *base, svint64_t offsets, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter_, s64, offset, _u64)(pg, base, offsets, data); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u32offset_s32(svbool_t pg, int8_t *base, svuint32_t offsets, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u32offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter_, u32, offset, _s32)(pg, base, offsets, data); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u64offset_s64(svbool_t pg, int8_t *base, svuint64_t offsets, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter_, u64, offset, _s64)(pg, base, offsets, data); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u32offset_u32(svbool_t pg, uint8_t *base, svuint32_t offsets, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u32offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter_, u32, offset, _u32)(pg, base, offsets, data); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u64offset_u64(svbool_t pg, uint8_t *base, svuint64_t offsets, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter_, u64, offset, _u64)(pg, base, offsets, data); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u32base_offset_s32(svbool_t pg, svuint32_t bases, int64_t offset, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u32base_offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter, _u32base, _offset, _s32)(pg, bases, offset, data); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter, _u64base, _offset, _s64)(pg, bases, offset, data); } @@ -272,8 +246,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u32base_offset_u32(svbool_t pg, svuint32_t bases, int64_t offset, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u32base_offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter, _u32base, _offset, _u32)(pg, bases, offset, data); } @@ -292,7 +264,5 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1b_scatter_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1b_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1b_scatter_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1b_scatter, _u64base, _offset, _u64)(pg, bases, offset, data); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u32base_s32(svbool_t pg, svuint32_t bases, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u32base_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, , _s32)(pg, bases, data); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64base_s64(svbool_t pg, svuint64_t bases, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, , _s64)(pg, bases, data); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u32base_u32(svbool_t pg, svuint32_t bases, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u32base_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, , _u32)(pg, bases, data); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64base_u64(svbool_t pg, svuint64_t bases, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, , _u64)(pg, bases, data); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_s64offset_s64(svbool_t pg, int16_t *base, svint64_t offsets, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, s64, offset, _s64)(pg, base, offsets, data); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_s64offset_u64(svbool_t pg, uint16_t *base, svint64_t offsets, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, s64, offset, _u64)(pg, base, offsets, data); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u32offset_s32(svbool_t pg, int16_t *base, svuint32_t offsets, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u32offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, u32, offset, _s32)(pg, base, offsets, data); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64offset_s64(svbool_t pg, int16_t *base, svuint64_t offsets, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, u64, offset, _s64)(pg, base, offsets, data); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u32offset_u32(svbool_t pg, uint16_t *base, svuint32_t offsets, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u32offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, u32, offset, _u32)(pg, base, offsets, data); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64offset_u64(svbool_t pg, uint16_t *base, svuint64_t offsets, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, u64, offset, _u64)(pg, base, offsets, data); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u32base_offset_s32(svbool_t pg, svuint32_t bases, int64_t offset, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u32base_offset_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, _offset, _s32)(pg, bases, offset, data); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, _offset, _s64)(pg, bases, offset, data); } @@ -272,8 +246,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u32base_offset_u32(svbool_t pg, svuint32_t bases, int64_t offset, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u32base_offset_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, _offset, _u32)(pg, bases, offset, data); } @@ -292,8 +264,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, _offset, _u64)(pg, bases, offset, data); } @@ -312,8 +282,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_s64index_s64(svbool_t pg, int16_t *base, svint64_t indices, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_s64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, s64, index, _s64)(pg, base, indices, data); } @@ -332,8 +300,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_s64index_u64(svbool_t pg, uint16_t *base, svint64_t indices, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_s64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, s64, index, _u64)(pg, base, indices, data); } @@ -352,8 +318,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64index_s64(svbool_t pg, int16_t *base, svuint64_t indices, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, u64, index, _s64)(pg, base, indices, data); } @@ -372,8 +336,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64index_u64(svbool_t pg, uint16_t *base, svuint64_t indices, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter_, u64, index, _u64)(pg, base, indices, data); } @@ -394,8 +356,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u32base_index_s32(svbool_t pg, svuint32_t bases, int64_t index, svint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u32base_index_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, _index, _s32)(pg, bases, index, data); } @@ -416,8 +376,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64base_index_s64(svbool_t pg, svuint64_t bases, int64_t index, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64base_index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, _index, _s64)(pg, bases, index, data); } @@ -438,8 +396,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u32base_index_u32(svbool_t pg, svuint32_t bases, int64_t index, svuint32_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u32base_index_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, _index, _u32)(pg, bases, index, data); } @@ -460,7 +416,5 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1h_scatter_u64base_index_u64(svbool_t pg, svuint64_t bases, int64_t index, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1h_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1h_scatter_u64base_index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, _index, _u64)(pg, bases, index, data); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -32,8 +30,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64base_s64(svbool_t pg, svuint64_t bases, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64base_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, , _s64)(pg, bases, data); } @@ -52,8 +48,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64base_u64(svbool_t pg, svuint64_t bases, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64base_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, , _u64)(pg, bases, data); } @@ -72,8 +66,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_s64offset_s64(svbool_t pg, int32_t *base, svint64_t offsets, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_s64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter_, s64, offset, _s64)(pg, base, offsets, data); } @@ -92,8 +84,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_s64offset_u64(svbool_t pg, uint32_t *base, svint64_t offsets, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_s64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter_, s64, offset, _u64)(pg, base, offsets, data); } @@ -112,8 +102,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64offset_s64(svbool_t pg, int32_t *base, svuint64_t offsets, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter_, u64, offset, _s64)(pg, base, offsets, data); } @@ -132,8 +120,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64offset_u64(svbool_t pg, uint32_t *base, svuint64_t offsets, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter_, u64, offset, _u64)(pg, base, offsets, data); } @@ -152,8 +138,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64base_offset_s64(svbool_t pg, svuint64_t bases, int64_t offset, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64base_offset_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, _offset, _s64)(pg, bases, offset, data); } @@ -172,8 +156,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64base_offset_u64(svbool_t pg, svuint64_t bases, int64_t offset, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_offset'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64base_offset_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, _offset, _u64)(pg, bases, offset, data); } @@ -192,8 +174,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_s64index_s64(svbool_t pg, int32_t *base, svint64_t indices, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_s64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter_, s64, index, _s64)(pg, base, indices, data); } @@ -212,8 +192,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_s64index_u64(svbool_t pg, uint32_t *base, svint64_t indices, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_s64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter_, s64, index, _u64)(pg, base, indices, data); } @@ -232,8 +210,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64index_s64(svbool_t pg, int32_t *base, svuint64_t indices, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter_, u64, index, _s64)(pg, base, indices, data); } @@ -252,8 +228,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64index_u64(svbool_t pg, uint32_t *base, svuint64_t indices, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter_, u64, index, _u64)(pg, base, indices, data); } @@ -274,8 +248,6 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64base_index_s64(svbool_t pg, svuint64_t bases, int64_t index, svint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64base_index_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, _index, _s64)(pg, bases, index, data); } @@ -296,7 +268,5 @@ // CPP-CHECK-NEXT: ret void // void test_svstnt1w_scatter_u64base_index_u64(svbool_t pg, svuint64_t bases, int64_t index, svuint64_t data) { - // overload-warning@+2 {{call to undeclared function 'svstnt1w_scatter_index'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svstnt1w_scatter_u64base_index_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, _index, _u64)(pg, bases, index, data); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svsubhnb_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint16_t test_svsubhnb_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint32_t test_svsubhnb_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint8_t test_svsubhnb_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint16_t test_svsubhnb_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint32_t test_svsubhnb_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint8_t test_svsubhnb_n_s16(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint16_t test_svsubhnb_n_s32(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint32_t test_svsubhnb_n_s64(svint64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint8_t test_svsubhnb_n_u16(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint16_t test_svsubhnb_n_u32(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint32_t test_svsubhnb_n_u64(svuint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubhnb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint8_t test_svsubhnt_s16(svint8_t op1, svint16_t op2, svint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_s16,,)(op1, op2, op3); } @@ -46,8 +42,6 @@ // svint16_t test_svsubhnt_s32(svint16_t op1, svint32_t op2, svint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_s32,,)(op1, op2, op3); } @@ -63,8 +57,6 @@ // svint32_t test_svsubhnt_s64(svint32_t op1, svint64_t op2, svint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_s64,,)(op1, op2, op3); } @@ -80,8 +72,6 @@ // svuint8_t test_svsubhnt_u16(svuint8_t op1, svuint16_t op2, svuint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_u16,,)(op1, op2, op3); } @@ -97,8 +87,6 @@ // svuint16_t test_svsubhnt_u32(svuint16_t op1, svuint32_t op2, svuint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_u32,,)(op1, op2, op3); } @@ -114,8 +102,6 @@ // svuint32_t test_svsubhnt_u64(svuint32_t op1, svuint64_t op2, svuint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_u64,,)(op1, op2, op3); } @@ -135,8 +121,6 @@ // svint8_t test_svsubhnt_n_s16(svint8_t op1, svint16_t op2, int16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_n_s16,,)(op1, op2, op3); } @@ -156,8 +140,6 @@ // svint16_t test_svsubhnt_n_s32(svint16_t op1, svint32_t op2, int32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_n_s32,,)(op1, op2, op3); } @@ -177,8 +159,6 @@ // svint32_t test_svsubhnt_n_s64(svint32_t op1, svint64_t op2, int64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_n_s64,,)(op1, op2, op3); } @@ -198,8 +178,6 @@ // svuint8_t test_svsubhnt_n_u16(svuint8_t op1, svuint16_t op2, uint16_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_n_u16,,)(op1, op2, op3); } @@ -219,8 +197,6 @@ // svuint16_t test_svsubhnt_n_u32(svuint16_t op1, svuint32_t op2, uint32_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_n_u32,,)(op1, op2, op3); } @@ -240,7 +216,5 @@ // svuint32_t test_svsubhnt_n_u64(svuint32_t op1, svuint64_t op2, uint64_t op3) { - // overload-warning@+2 {{call to undeclared function 'svsubhnt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubhnt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubhnt,_n_u64,,)(op1, op2, op3); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svsublb_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svsublb_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svsublb_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svsublb_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svsublb_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svsublb_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svsublb_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svsublb_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svsublb_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svsublb_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svsublb_n_u32(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svsublb_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svsublbt_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublbt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublbt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svsublbt_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublbt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublbt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svsublbt_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublbt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublbt,_s64,,)(op1, op2); } @@ -84,8 +76,6 @@ // svint16_t test_svsublbt_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublbt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublbt,_n_s16,,)(op1, op2); } @@ -105,8 +95,6 @@ // svint32_t test_svsublbt_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublbt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublbt,_n_s32,,)(op1, op2); } @@ -126,7 +114,5 @@ // svint64_t test_svsublbt_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublbt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublbt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublbt,_n_s64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svsublt_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svsublt_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svsublt_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svsublt_u16(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svsublt_u32(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svsublt_u64(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svsublt_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svsublt_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svsublt_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svsublt_n_u16(svuint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svsublt_n_u32(svuint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svsublt_n_u64(svuint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsublt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsublt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsublt,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svsubltb_s16(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubltb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubltb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubltb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svsubltb_s32(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubltb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubltb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubltb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svsubltb_s64(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubltb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubltb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubltb,_s64,,)(op1, op2); } @@ -84,8 +76,6 @@ // svint16_t test_svsubltb_n_s16(svint8_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubltb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubltb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubltb,_n_s16,,)(op1, op2); } @@ -105,8 +95,6 @@ // svint32_t test_svsubltb_n_s32(svint16_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubltb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubltb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubltb,_n_s32,,)(op1, op2); } @@ -126,7 +114,5 @@ // svint64_t test_svsubltb_n_s64(svint32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubltb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubltb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubltb,_n_s64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svsubwb_s16(svint16_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svsubwb_s32(svint32_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svsubwb_s64(svint64_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svsubwb_u16(svuint16_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svsubwb_u32(svuint32_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svsubwb_u64(svuint64_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svsubwb_n_s16(svint16_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svsubwb_n_s32(svint32_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svsubwb_n_s64(svint64_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svsubwb_n_u16(svuint16_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svsubwb_n_u32(svuint32_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svsubwb_n_u64(svuint64_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwb'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwb_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwb,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include @@ -29,8 +27,6 @@ // svint16_t test_svsubwt_s16(svint16_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_s16,,)(op1, op2); } @@ -46,8 +42,6 @@ // svint32_t test_svsubwt_s32(svint32_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_s32,,)(op1, op2); } @@ -63,8 +57,6 @@ // svint64_t test_svsubwt_s64(svint64_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_s64,,)(op1, op2); } @@ -80,8 +72,6 @@ // svuint16_t test_svsubwt_u16(svuint16_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_u16,,)(op1, op2); } @@ -97,8 +87,6 @@ // svuint32_t test_svsubwt_u32(svuint32_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_u32,,)(op1, op2); } @@ -114,8 +102,6 @@ // svuint64_t test_svsubwt_u64(svuint64_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_u64,,)(op1, op2); } @@ -135,8 +121,6 @@ // svint16_t test_svsubwt_n_s16(svint16_t op1, int8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_n_s16,,)(op1, op2); } @@ -156,8 +140,6 @@ // svint32_t test_svsubwt_n_s32(svint32_t op1, int16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_n_s32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svint64_t test_svsubwt_n_s64(svint64_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_n_s64,,)(op1, op2); } @@ -198,8 +178,6 @@ // svuint16_t test_svsubwt_n_u16(svuint16_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_n_u16,,)(op1, op2); } @@ -219,8 +197,6 @@ // svuint32_t test_svsubwt_n_u32(svuint32_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_n_u32,,)(op1, op2); } @@ -240,7 +216,5 @@ // svuint64_t test_svsubwt_n_u64(svuint64_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svsubwt'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svsubwt_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svsubwt,_n_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c @@ -4,9 +4,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +bf16 -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error -verify-ignore-unexpected=note %s #include @@ -32,7 +29,5 @@ // CPP-CHECK-NEXT: ret [[TMP2]] // svbfloat16_t test_svtbl2_bf16(svbfloat16x2_t data, svuint16_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_bf16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2, _bf16, , )(data, indices); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -33,8 +31,6 @@ // svint8_t test_svtbl2_s8(svint8x2_t data, svuint8_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_s8,,)(data, indices); } @@ -54,8 +50,6 @@ // svint16_t test_svtbl2_s16(svint16x2_t data, svuint16_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_s16,,)(data, indices); } @@ -75,8 +69,6 @@ // svint32_t test_svtbl2_s32(svint32x2_t data, svuint32_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_s32,,)(data, indices); } @@ -96,8 +88,6 @@ // svint64_t test_svtbl2_s64(svint64x2_t data, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_s64,,)(data, indices); } @@ -117,8 +107,6 @@ // svuint8_t test_svtbl2_u8(svuint8x2_t data, svuint8_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_u8,,)(data, indices); } @@ -138,8 +126,6 @@ // svuint16_t test_svtbl2_u16(svuint16x2_t data, svuint16_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_u16,,)(data, indices); } @@ -159,8 +145,6 @@ // svuint32_t test_svtbl2_u32(svuint32x2_t data, svuint32_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_u32,,)(data, indices); } @@ -180,8 +164,6 @@ // svuint64_t test_svtbl2_u64(svuint64x2_t data, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_u64,,)(data, indices); } @@ -201,8 +183,6 @@ // svfloat16_t test_svtbl2_f16(svfloat16x2_t data, svuint16_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_f16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_f16,,)(data, indices); } @@ -222,8 +202,6 @@ // svfloat32_t test_svtbl2_f32(svfloat32x2_t data, svuint32_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_f32,,)(data, indices); } @@ -243,7 +221,5 @@ // svfloat64_t test_svtbl2_f64(svfloat64x2_t data, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbl2'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbl2_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbl2,_f64,,)(data, indices); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c @@ -4,9 +4,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +bf16 -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error -verify-ignore-unexpected=note %s #include @@ -28,7 +25,5 @@ // CPP-CHECK-NEXT: ret [[TMP0]] // svbfloat16_t test_svtbx_bf16(svbfloat16_t fallback, svbfloat16_t data, svuint16_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_bf16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx, _bf16, , )(fallback, data, indices); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svtbx_s8(svint8_t fallback, svint8_t data, svuint8_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_s8,,)(fallback, data, indices); } @@ -46,8 +42,6 @@ // svint16_t test_svtbx_s16(svint16_t fallback, svint16_t data, svuint16_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_s16,,)(fallback, data, indices); } @@ -63,8 +57,6 @@ // svint32_t test_svtbx_s32(svint32_t fallback, svint32_t data, svuint32_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_s32,,)(fallback, data, indices); } @@ -80,8 +72,6 @@ // svint64_t test_svtbx_s64(svint64_t fallback, svint64_t data, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_s64,,)(fallback, data, indices); } @@ -97,8 +87,6 @@ // svuint8_t test_svtbx_u8(svuint8_t fallback, svuint8_t data, svuint8_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_u8,,)(fallback, data, indices); } @@ -114,8 +102,6 @@ // svuint16_t test_svtbx_u16(svuint16_t fallback, svuint16_t data, svuint16_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_u16,,)(fallback, data, indices); } @@ -131,8 +117,6 @@ // svuint32_t test_svtbx_u32(svuint32_t fallback, svuint32_t data, svuint32_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_u32,,)(fallback, data, indices); } @@ -148,8 +132,6 @@ // svuint64_t test_svtbx_u64(svuint64_t fallback, svuint64_t data, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_u64,,)(fallback, data, indices); } @@ -165,8 +147,6 @@ // svfloat16_t test_svtbx_f16(svfloat16_t fallback, svfloat16_t data, svuint16_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_f16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_f16,,)(fallback, data, indices); } @@ -182,8 +162,6 @@ // svfloat32_t test_svtbx_f32(svfloat32_t fallback, svfloat32_t data, svuint32_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_f32,,)(fallback, data, indices); } @@ -199,7 +177,5 @@ // svfloat64_t test_svtbx_f64(svfloat64_t fallback, svfloat64_t data, svuint64_t indices) { - // overload-warning@+2 {{call to undeclared function 'svtbx'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svtbx_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svtbx,_f64,,)(fallback, data, indices); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c @@ -5,8 +5,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s #include #ifdef SVE_OVERLOADED_FORMS @@ -16,78 +14,70 @@ #define SVE_ACLE_FUNC(A1,A2,A3,A4) A1##A2##A3##A4 #endif -// CHECK-LABEL: @test_svuqadd_u8_m( +// CHECK-LABEL: @test_svuqadd_s8_m( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.suqadd.nxv16i8( [[PG:%.*]], [[OP1:%.*]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP0]] // -// CPP-CHECK-LABEL: @_Z17test_svuqadd_u8_mu10__SVBool_tu10__SVInt8_tu11__SVUint8_t( +// CPP-CHECK-LABEL: @_Z17test_svuqadd_s8_mu10__SVBool_tu10__SVInt8_tu11__SVUint8_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.suqadd.nxv16i8( [[PG:%.*]], [[OP1:%.*]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP0]] // -svint8_t test_svuqadd_u8_m(svbool_t pg, svint8_t op1, svuint8_t op2) +svint8_t test_svuqadd_s8_m(svbool_t pg, svint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s8,_m,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u16_m( +// CHECK-LABEL: @test_svuqadd_s16_m( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv8i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv8i16( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP1]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u16_mu10__SVBool_tu11__SVInt16_tu12__SVUint16_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s16_mu10__SVBool_tu11__SVInt16_tu12__SVUint16_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv8i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv8i16( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP1]] // -svint16_t test_svuqadd_u16_m(svbool_t pg, svint16_t op1, svuint16_t op2) +svint16_t test_svuqadd_s16_m(svbool_t pg, svint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s16,_m,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u32_m( +// CHECK-LABEL: @test_svuqadd_s32_m( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv4i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv4i32( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP1]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u32_mu10__SVBool_tu11__SVInt32_tu12__SVUint32_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s32_mu10__SVBool_tu11__SVInt32_tu12__SVUint32_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv4i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv4i32( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP1]] // -svint32_t test_svuqadd_u32_m(svbool_t pg, svint32_t op1, svuint32_t op2) +svint32_t test_svuqadd_s32_m(svbool_t pg, svint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svuqadd_u32_m - // overload-warning@+2 {{call to undeclared function 'svuqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s32,_m,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u64_m( +// CHECK-LABEL: @test_svuqadd_s64_m( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv2i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv2i64( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP1]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u64_mu10__SVBool_tu11__SVInt64_tu12__SVUint64_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s64_mu10__SVBool_tu11__SVInt64_tu12__SVUint64_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv2i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv2i64( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP1]] // -svint64_t test_svuqadd_u64_m(svbool_t pg, svint64_t op1, svuint64_t op2) +svint64_t test_svuqadd_s64_m(svbool_t pg, svint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s64,_m,)(pg, op1, op2); } @@ -107,8 +97,6 @@ // svint8_t test_svuqadd_n_s8_m(svbool_t pg, svint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s8_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s8,_m,)(pg, op1, op2); } @@ -130,8 +118,6 @@ // svint16_t test_svuqadd_n_s16_m(svbool_t pg, svint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s16_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s16,_m,)(pg, op1, op2); } @@ -153,8 +139,6 @@ // svint32_t test_svuqadd_n_s32_m(svbool_t pg, svint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s32_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s32,_m,)(pg, op1, op2); } @@ -176,90 +160,80 @@ // svint64_t test_svuqadd_n_s64_m(svbool_t pg, svint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_m'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s64_m'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s64,_m,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u8_z( +// CHECK-LABEL: @test_svuqadd_s8_z( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = select [[PG:%.*]], [[OP1:%.*]], zeroinitializer // CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv16i8( [[PG]], [[TMP0]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP1]] // -// CPP-CHECK-LABEL: @_Z17test_svuqadd_u8_zu10__SVBool_tu10__SVInt8_tu11__SVUint8_t( +// CPP-CHECK-LABEL: @_Z17test_svuqadd_s8_zu10__SVBool_tu10__SVInt8_tu11__SVUint8_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = select [[PG:%.*]], [[OP1:%.*]], zeroinitializer // CPP-CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv16i8( [[PG]], [[TMP0]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP1]] // -svint8_t test_svuqadd_u8_z(svbool_t pg, svint8_t op1, svuint8_t op2) +svint8_t test_svuqadd_s8_z(svbool_t pg, svint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s8,_z,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u16_z( +// CHECK-LABEL: @test_svuqadd_s16_z( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv8i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = select [[TMP0]], [[OP1:%.*]], zeroinitializer // CHECK-NEXT: [[TMP2:%.*]] = call @llvm.aarch64.sve.suqadd.nxv8i16( [[TMP0]], [[TMP1]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP2]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u16_zu10__SVBool_tu11__SVInt16_tu12__SVUint16_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s16_zu10__SVBool_tu11__SVInt16_tu12__SVUint16_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv8i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = select [[TMP0]], [[OP1:%.*]], zeroinitializer // CPP-CHECK-NEXT: [[TMP2:%.*]] = call @llvm.aarch64.sve.suqadd.nxv8i16( [[TMP0]], [[TMP1]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP2]] // -svint16_t test_svuqadd_u16_z(svbool_t pg, svint16_t op1, svuint16_t op2) +svint16_t test_svuqadd_s16_z(svbool_t pg, svint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s16,_z,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u32_z( +// CHECK-LABEL: @test_svuqadd_s32_z( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv4i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = select [[TMP0]], [[OP1:%.*]], zeroinitializer // CHECK-NEXT: [[TMP2:%.*]] = call @llvm.aarch64.sve.suqadd.nxv4i32( [[TMP0]], [[TMP1]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP2]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u32_zu10__SVBool_tu11__SVInt32_tu12__SVUint32_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s32_zu10__SVBool_tu11__SVInt32_tu12__SVUint32_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv4i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = select [[TMP0]], [[OP1:%.*]], zeroinitializer // CPP-CHECK-NEXT: [[TMP2:%.*]] = call @llvm.aarch64.sve.suqadd.nxv4i32( [[TMP0]], [[TMP1]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP2]] // -svint32_t test_svuqadd_u32_z(svbool_t pg, svint32_t op1, svuint32_t op2) +svint32_t test_svuqadd_s32_z(svbool_t pg, svint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s32,_z,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u64_z( +// CHECK-LABEL: @test_svuqadd_s64_z( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv2i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = select [[TMP0]], [[OP1:%.*]], zeroinitializer // CHECK-NEXT: [[TMP2:%.*]] = call @llvm.aarch64.sve.suqadd.nxv2i64( [[TMP0]], [[TMP1]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP2]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u64_zu10__SVBool_tu11__SVInt64_tu12__SVUint64_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s64_zu10__SVBool_tu11__SVInt64_tu12__SVUint64_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv2i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = select [[TMP0]], [[OP1:%.*]], zeroinitializer // CPP-CHECK-NEXT: [[TMP2:%.*]] = call @llvm.aarch64.sve.suqadd.nxv2i64( [[TMP0]], [[TMP1]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP2]] // -svint64_t test_svuqadd_u64_z(svbool_t pg, svint64_t op1, svuint64_t op2) +svint64_t test_svuqadd_s64_z(svbool_t pg, svint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s64,_z,)(pg, op1, op2); } @@ -281,8 +255,6 @@ // svint8_t test_svuqadd_n_s8_z(svbool_t pg, svint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s8_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s8,_z,)(pg, op1, op2); } @@ -306,8 +278,6 @@ // svint16_t test_svuqadd_n_s16_z(svbool_t pg, svint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s16_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s16,_z,)(pg, op1, op2); } @@ -331,8 +301,6 @@ // svint32_t test_svuqadd_n_s32_z(svbool_t pg, svint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s32_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s32,_z,)(pg, op1, op2); } @@ -356,83 +324,73 @@ // svint64_t test_svuqadd_n_s64_z(svbool_t pg, svint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_z'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s64_z'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s64,_z,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u8_x( +// CHECK-LABEL: @test_svuqadd_s8_x( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.suqadd.nxv16i8( [[PG:%.*]], [[OP1:%.*]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP0]] // -// CPP-CHECK-LABEL: @_Z17test_svuqadd_u8_xu10__SVBool_tu10__SVInt8_tu11__SVUint8_t( +// CPP-CHECK-LABEL: @_Z17test_svuqadd_s8_xu10__SVBool_tu10__SVInt8_tu11__SVUint8_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.suqadd.nxv16i8( [[PG:%.*]], [[OP1:%.*]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP0]] // -svint8_t test_svuqadd_u8_x(svbool_t pg, svint8_t op1, svuint8_t op2) +svint8_t test_svuqadd_s8_x(svbool_t pg, svint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s8,_x,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u16_x( +// CHECK-LABEL: @test_svuqadd_s16_x( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv8i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv8i16( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP1]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u16_xu10__SVBool_tu11__SVInt16_tu12__SVUint16_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s16_xu10__SVBool_tu11__SVInt16_tu12__SVUint16_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv8i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv8i16( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP1]] // -svint16_t test_svuqadd_u16_x(svbool_t pg, svint16_t op1, svuint16_t op2) +svint16_t test_svuqadd_s16_x(svbool_t pg, svint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s16,_x,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u32_x( +// CHECK-LABEL: @test_svuqadd_s32_x( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv4i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv4i32( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP1]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u32_xu10__SVBool_tu11__SVInt32_tu12__SVUint32_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s32_xu10__SVBool_tu11__SVInt32_tu12__SVUint32_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv4i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv4i32( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP1]] // -svint32_t test_svuqadd_u32_x(svbool_t pg, svint32_t op1, svuint32_t op2) +svint32_t test_svuqadd_s32_x(svbool_t pg, svint32_t op1, svuint32_t op2) { // CHECKA-LABEL: test_svuqadd_u32_x - // overload-warning@+2 {{call to undeclared function 'svuqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s32,_x,)(pg, op1, op2); } -// CHECK-LABEL: @test_svuqadd_u64_x( +// CHECK-LABEL: @test_svuqadd_s64_x( // CHECK-NEXT: entry: // CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv2i1( [[PG:%.*]]) // CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv2i64( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CHECK-NEXT: ret [[TMP1]] // -// CPP-CHECK-LABEL: @_Z18test_svuqadd_u64_xu10__SVBool_tu11__SVInt64_tu12__SVUint64_t( +// CPP-CHECK-LABEL: @_Z18test_svuqadd_s64_xu10__SVBool_tu11__SVInt64_tu12__SVUint64_t( // CPP-CHECK-NEXT: entry: // CPP-CHECK-NEXT: [[TMP0:%.*]] = call @llvm.aarch64.sve.convert.from.svbool.nxv2i1( [[PG:%.*]]) // CPP-CHECK-NEXT: [[TMP1:%.*]] = call @llvm.aarch64.sve.suqadd.nxv2i64( [[TMP0]], [[OP1:%.*]], [[OP2:%.*]]) // CPP-CHECK-NEXT: ret [[TMP1]] // -svint64_t test_svuqadd_u64_x(svbool_t pg, svint64_t op1, svuint64_t op2) +svint64_t test_svuqadd_s64_x(svbool_t pg, svint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_s64,_x,)(pg, op1, op2); } @@ -452,8 +410,6 @@ // svint8_t test_svuqadd_n_s8_x(svbool_t pg, svint8_t op1, uint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s8_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s8,_x,)(pg, op1, op2); } @@ -475,8 +431,6 @@ // svint16_t test_svuqadd_n_s16_x(svbool_t pg, svint16_t op1, uint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s16_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s16,_x,)(pg, op1, op2); } @@ -498,8 +452,6 @@ // svint32_t test_svuqadd_n_s32_x(svbool_t pg, svint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s32_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s32,_x,)(pg, op1, op2); } @@ -521,7 +473,5 @@ // svint64_t test_svuqadd_n_s64_x(svbool_t pg, svint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svuqadd_x'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svuqadd_n_s64_x'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svuqadd,_n_s64,_x,)(pg, op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svbool_t test_svwhilege_b8_s32(int32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b8'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b8_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b8,_s32,,)(op1, op2); } @@ -48,8 +44,6 @@ // svbool_t test_svwhilege_b16_s32(int32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b16'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b16_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b16,_s32,,)(op1, op2); } @@ -67,8 +61,6 @@ // svbool_t test_svwhilege_b32_s32(int32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b32_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b32,_s32,,)(op1, op2); } @@ -86,8 +78,6 @@ // svbool_t test_svwhilege_b64_s32(int32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b64_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b64,_s32,,)(op1, op2); } @@ -103,8 +93,6 @@ // svbool_t test_svwhilege_b8_u32(uint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b8'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b8_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b8,_u32,,)(op1, op2); } @@ -122,8 +110,6 @@ // svbool_t test_svwhilege_b16_u32(uint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b16'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b16_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b16,_u32,,)(op1, op2); } @@ -141,8 +127,6 @@ // svbool_t test_svwhilege_b32_u32(uint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b32_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b32,_u32,,)(op1, op2); } @@ -160,8 +144,6 @@ // svbool_t test_svwhilege_b64_u32(uint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b64_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b64,_u32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svbool_t test_svwhilege_b8_s64(int64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b8'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b8_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b8,_s64,,)(op1, op2); } @@ -196,8 +176,6 @@ // svbool_t test_svwhilege_b16_s64(int64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b16'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b16_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b16,_s64,,)(op1, op2); } @@ -215,8 +193,6 @@ // svbool_t test_svwhilege_b32_s64(int64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b32_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b32,_s64,,)(op1, op2); } @@ -234,8 +210,6 @@ // svbool_t test_svwhilege_b64_s64(int64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b64_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b64,_s64,,)(op1, op2); } @@ -251,8 +225,6 @@ // svbool_t test_svwhilege_b8_u64(uint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b8'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b8_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b8,_u64,,)(op1, op2); } @@ -270,8 +242,6 @@ // svbool_t test_svwhilege_b16_u64(uint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b16'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b16_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b16,_u64,,)(op1, op2); } @@ -289,8 +259,6 @@ // svbool_t test_svwhilege_b32_u64(uint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b32_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b32,_u64,,)(op1, op2); } @@ -308,7 +276,5 @@ // svbool_t test_svwhilege_b64_u64(uint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilege_b64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilege_b64_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilege_b64,_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svbool_t test_svwhilegt_b8_s32(int32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b8'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b8_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b8,_s32,,)(op1, op2); } @@ -48,8 +44,6 @@ // svbool_t test_svwhilegt_b16_s32(int32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b16'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b16_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b16,_s32,,)(op1, op2); } @@ -67,8 +61,6 @@ // svbool_t test_svwhilegt_b32_s32(int32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b32_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b32,_s32,,)(op1, op2); } @@ -86,8 +78,6 @@ // svbool_t test_svwhilegt_b64_s32(int32_t op1, int32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b64_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b64,_s32,,)(op1, op2); } @@ -103,8 +93,6 @@ // svbool_t test_svwhilegt_b8_u32(uint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b8'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b8_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b8,_u32,,)(op1, op2); } @@ -122,8 +110,6 @@ // svbool_t test_svwhilegt_b16_u32(uint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b16'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b16_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b16,_u32,,)(op1, op2); } @@ -141,8 +127,6 @@ // svbool_t test_svwhilegt_b32_u32(uint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b32_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b32,_u32,,)(op1, op2); } @@ -160,8 +144,6 @@ // svbool_t test_svwhilegt_b64_u32(uint32_t op1, uint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b64_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b64,_u32,,)(op1, op2); } @@ -177,8 +159,6 @@ // svbool_t test_svwhilegt_b8_s64(int64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b8'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b8_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b8,_s64,,)(op1, op2); } @@ -196,8 +176,6 @@ // svbool_t test_svwhilegt_b16_s64(int64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b16'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b16_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b16,_s64,,)(op1, op2); } @@ -215,8 +193,6 @@ // svbool_t test_svwhilegt_b32_s64(int64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b32_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b32,_s64,,)(op1, op2); } @@ -234,8 +210,6 @@ // svbool_t test_svwhilegt_b64_s64(int64_t op1, int64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b64_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b64,_s64,,)(op1, op2); } @@ -251,8 +225,6 @@ // svbool_t test_svwhilegt_b8_u64(uint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b8'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b8_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b8,_u64,,)(op1, op2); } @@ -270,8 +242,6 @@ // svbool_t test_svwhilegt_b16_u64(uint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b16'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b16_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b16,_u64,,)(op1, op2); } @@ -289,8 +259,6 @@ // svbool_t test_svwhilegt_b32_u64(uint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b32'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b32_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b32,_u64,,)(op1, op2); } @@ -308,7 +276,5 @@ // svbool_t test_svwhilegt_b64_u64(uint64_t op1, uint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilegt_b64'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilegt_b64_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilegt_b64,_u64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_SVE2 -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_SVE2 -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_SVE2 -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,7 +29,5 @@ // svbool_t test_svwhilerw_bf16(const bfloat16_t *op1, const bfloat16_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_bf16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_bf16,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svbool_t test_svwhilerw_s8(const int8_t *op1, const int8_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_s8,,)(op1, op2); } @@ -48,8 +44,6 @@ // svbool_t test_svwhilerw_s16(const int16_t *op1, const int16_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_s16,,)(op1, op2); } @@ -67,8 +61,6 @@ // svbool_t test_svwhilerw_s32(const int32_t *op1, const int32_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_s32,,)(op1, op2); } @@ -86,8 +78,6 @@ // svbool_t test_svwhilerw_s64(const int64_t *op1, const int64_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_s64,,)(op1, op2); } @@ -103,8 +93,6 @@ // svbool_t test_svwhilerw_u8(const uint8_t *op1, const uint8_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_u8,,)(op1, op2); } @@ -122,8 +110,6 @@ // svbool_t test_svwhilerw_u16(const uint16_t *op1, const uint16_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_u16,,)(op1, op2); } @@ -141,8 +127,6 @@ // svbool_t test_svwhilerw_u32(const uint32_t *op1, const uint32_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_u32,,)(op1, op2); } @@ -160,8 +144,6 @@ // svbool_t test_svwhilerw_u64(const uint64_t *op1, const uint64_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_u64,,)(op1, op2); } @@ -179,8 +161,6 @@ // svbool_t test_svwhilerw_f16(const float16_t *op1, const float16_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_f16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_f16,,)(op1, op2); } @@ -198,8 +178,6 @@ // svbool_t test_svwhilerw_f32(const float32_t *op1, const float32_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_f32,,)(op1, op2); } @@ -217,7 +195,5 @@ // svbool_t test_svwhilerw_f64(const float64_t *op1, const float64_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilerw'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilerw_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilerw,_f64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_SVE2 -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_SVE2 -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_SVE2 -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -target-feature +bf16 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -D__ARM_FEATURE_SVE -D__ARM_FEATURE_BF16_SCALAR_ARITHMETIC -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -31,7 +29,5 @@ // svbool_t test_svwhilewr_bf16(const bfloat16_t *op1, const bfloat16_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_bf16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_bf16,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -no-opaque-pointers -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svbool_t test_svwhilewr_s8(const int8_t *op1, const int8_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_s8,,)(op1, op2); } @@ -48,8 +44,6 @@ // svbool_t test_svwhilewr_s16(const int16_t *op1, const int16_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_s16,,)(op1, op2); } @@ -67,8 +61,6 @@ // svbool_t test_svwhilewr_s32(const int32_t *op1, const int32_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_s32,,)(op1, op2); } @@ -86,8 +78,6 @@ // svbool_t test_svwhilewr_s64(const int64_t *op1, const int64_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_s64,,)(op1, op2); } @@ -103,8 +93,6 @@ // svbool_t test_svwhilewr_u8(const uint8_t *op1, const uint8_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_u8,,)(op1, op2); } @@ -122,8 +110,6 @@ // svbool_t test_svwhilewr_u16(const uint16_t *op1, const uint16_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_u16,,)(op1, op2); } @@ -141,8 +127,6 @@ // svbool_t test_svwhilewr_u32(const uint32_t *op1, const uint32_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_u32,,)(op1, op2); } @@ -160,8 +144,6 @@ // svbool_t test_svwhilewr_u64(const uint64_t *op1, const uint64_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_u64,,)(op1, op2); } @@ -179,8 +161,6 @@ // svbool_t test_svwhilewr_f16(const float16_t *op1, const float16_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_f16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_f16,,)(op1, op2); } @@ -198,8 +178,6 @@ // svbool_t test_svwhilewr_f32(const float32_t *op1, const float32_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_f32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_f32,,)(op1, op2); } @@ -217,7 +195,5 @@ // svbool_t test_svwhilewr_f64(const float64_t *op1, const float64_t *op2) { - // overload-warning@+2 {{call to undeclared function 'svwhilewr'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svwhilewr_f64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svwhilewr,_f64,,)(op1, op2); } diff --git a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c --- a/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c +++ b/clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c @@ -3,8 +3,6 @@ // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefix=CPP-CHECK -// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify -verify-ignore-unexpected=error %s -// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -Wno-error=implicit-function-declaration -verify=overload -verify-ignore-unexpected=error %s // REQUIRES: aarch64-registered-target @@ -29,8 +27,6 @@ // svint8_t test_svxar_n_s8(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_s8,,)(op1, op2, 1); } @@ -46,8 +42,6 @@ // svint8_t test_svxar_n_s8_1(svint8_t op1, svint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_s8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_s8,,)(op1, op2, 8); } @@ -63,8 +57,6 @@ // svint16_t test_svxar_n_s16(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_s16,,)(op1, op2, 1); } @@ -80,8 +72,6 @@ // svint16_t test_svxar_n_s16_1(svint16_t op1, svint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_s16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_s16,,)(op1, op2, 16); } @@ -97,8 +87,6 @@ // svint32_t test_svxar_n_s32(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_s32,,)(op1, op2, 1); } @@ -114,8 +102,6 @@ // svint32_t test_svxar_n_s32_1(svint32_t op1, svint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_s32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_s32,,)(op1, op2, 32); } @@ -131,8 +117,6 @@ // svint64_t test_svxar_n_s64(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_s64,,)(op1, op2, 1); } @@ -148,8 +132,6 @@ // svint64_t test_svxar_n_s64_1(svint64_t op1, svint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_s64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_s64,,)(op1, op2, 64); } @@ -165,8 +147,6 @@ // svuint8_t test_svxar_n_u8(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_u8,,)(op1, op2, 1); } @@ -182,8 +162,6 @@ // svuint8_t test_svxar_n_u8_1(svuint8_t op1, svuint8_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_u8'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_u8,,)(op1, op2, 8); } @@ -199,8 +177,6 @@ // svuint16_t test_svxar_n_u16(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_u16,,)(op1, op2, 1); } @@ -216,8 +192,6 @@ // svuint16_t test_svxar_n_u16_1(svuint16_t op1, svuint16_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_u16'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_u16,,)(op1, op2, 16); } @@ -233,8 +207,6 @@ // svuint32_t test_svxar_n_u32(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_u32,,)(op1, op2, 1); } @@ -250,8 +222,6 @@ // svuint32_t test_svxar_n_u32_1(svuint32_t op1, svuint32_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_u32'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_u32,,)(op1, op2, 32); } @@ -267,8 +237,6 @@ // svuint64_t test_svxar_n_u64(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_u64,,)(op1, op2, 1); } @@ -284,7 +252,5 @@ // svuint64_t test_svxar_n_u64_1(svuint64_t op1, svuint64_t op2) { - // overload-warning@+2 {{call to undeclared function 'svxar'; ISO C99 and later do not support implicit function declarations}} - // expected-warning@+1 {{call to undeclared function 'svxar_n_u64'; ISO C99 and later do not support implicit function declarations}} return SVE_ACLE_FUNC(svxar,_n_u64,,)(op1, op2, 64); } diff --git a/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp new file mode 100644 --- /dev/null +++ b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp @@ -0,0 +1,5011 @@ +// REQUIRES: aarch64-registered-target + +// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -verify -verify-ignore-unexpected=error,note %s +// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -verify=overload -verify-ignore-unexpected=error,note %s + +#ifdef SVE_OVERLOADED_FORMS +// A simple used,unused... macro, long enough to represent any SVE builtin. +#define SVE_ACLE_FUNC(A1,A2_UNUSED,A3,A4_UNUSED) A1##A3 +#else +#define SVE_ACLE_FUNC(A1,A2,A3,A4) A1##A2##A3##A4 +#endif + +#include + +int8_t i8; +int16_t i16; +int32_t i32; +uint8_t u8; +uint16_t u16; +uint32_t u32; +uint64_t u64; +int64_t i64; +int64_t *i64_ptr; +uint64_t *u64_ptr; +float64_t *f64_ptr; +int32_t *i32_ptr; +uint32_t *u32_ptr; +float32_t *f32_ptr; +int16_t *i16_ptr; +uint16_t *u16_ptr; +int8_t *i8_ptr; +uint8_t *u8_ptr; + +void test_s8(svbool_t pg, const int8_t *const_i8_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svhistseg_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svhistseg'}} + SVE_ACLE_FUNC(svhistseg,_s8,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh'}} + SVE_ACLE_FUNC(svqrdmulh,_s8,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh'}} + SVE_ACLE_FUNC(svqrdmulh,_n_s8,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh'}} + SVE_ACLE_FUNC(svqdmulh,_s8,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh'}} + SVE_ACLE_FUNC(svqdmulh,_n_s8,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsra_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svsra'}} + SVE_ACLE_FUNC(svsra,_n_s8,,)(svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_z'}} + SVE_ACLE_FUNC(svqabs,_s8,_z,)(pg, svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_m'}} + SVE_ACLE_FUNC(svqabs,_s8,_m,)(svundef_s8(), pg, svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_x'}} + SVE_ACLE_FUNC(svqabs,_s8,_x,)(pg, svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svcadd_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svcadd'}} + SVE_ACLE_FUNC(svcadd,_s8,,)(svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_s8,,)(svundef2_s8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'sveortb_s8'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svbcax_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svbcax_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqshlu_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshlu_z'}} + SVE_ACLE_FUNC(svqshlu,_n_s8,_z,)(pg, svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svcmla_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svcmla'}} + SVE_ACLE_FUNC(svcmla,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrshr_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshr_z'}} + SVE_ACLE_FUNC(svrshr,_n_s8,_z,)(pg, svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svaddp_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svtbx_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_s8,,)(svundef_s8(), svundef_s8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqrdcmlah_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdcmlah'}} + SVE_ACLE_FUNC(svqrdcmlah,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svminp_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svminp_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrsra_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svrsra'}} + SVE_ACLE_FUNC(svrsra,_n_s8,,)(svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'sveor3_s8'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'sveor3_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh'}} + SVE_ACLE_FUNC(svqrdmlsh,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh'}} + SVE_ACLE_FUNC(svqrdmlsh,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmatch_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svmatch'}} + SVE_ACLE_FUNC(svmatch,_s8,,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_s8,,)(const_i8_ptr, const_i8_ptr); + // expected-error@+2 {{use of undeclared identifier 'svqcadd_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqcadd'}} + SVE_ACLE_FUNC(svqcadd,_s8,,)(svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_s8,,)(const_i8_ptr, const_i8_ptr); + // expected-error@+2 {{use of undeclared identifier 'svsli_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svsli'}} + SVE_ACLE_FUNC(svsli,_n_s8,,)(svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svnmatch_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svnmatch'}} + SVE_ACLE_FUNC(svnmatch,_s8,,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svaba_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svaba_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_m'}} + SVE_ACLE_FUNC(svuqadd,_s8,_m,)(pg, svundef_s8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_m'}} + SVE_ACLE_FUNC(svuqadd,_n_s8,_m,)(pg, svundef_s8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_z'}} + SVE_ACLE_FUNC(svuqadd,_s8,_z,)(pg, svundef_s8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_z'}} + SVE_ACLE_FUNC(svuqadd,_n_s8,_z,)(pg, svundef_s8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_x'}} + SVE_ACLE_FUNC(svuqadd,_s8,_x,)(pg, svundef_s8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_x'}} + SVE_ACLE_FUNC(svuqadd,_n_s8,_x,)(pg, svundef_s8(), u8); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_s8'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svbsl_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svbsl_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah'}} + SVE_ACLE_FUNC(svqrdmlah,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah'}} + SVE_ACLE_FUNC(svqrdmlah,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsri_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svsri'}} + SVE_ACLE_FUNC(svsri,_n_s8,,)(svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_s8,,)(svundef_s8(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_n_s8,,)(svundef_s8(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_n_s8,_x,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_z'}} + SVE_ACLE_FUNC(svqneg,_s8,_z,)(pg, svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_m'}} + SVE_ACLE_FUNC(svqneg,_s8,_m,)(svundef_s8(), pg, svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_x'}} + SVE_ACLE_FUNC(svqneg,_s8,_x,)(pg, svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svxar_n_s8'}} + // overload-error@+1 {{use of undeclared identifier 'svxar'}} + SVE_ACLE_FUNC(svxar,_n_s8,,)(svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_s8,_z,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_s8,_m,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_s8,_x,)(pg, svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_n_s8,_z,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_n_s8,_m,)(pg, svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_n_s8,_x,)(pg, svundef_s8(), i8); +} + +void test_s16(svbool_t pg, const int16_t *const_i16_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svmullb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmullb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrshrunb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshrunb'}} + SVE_ACLE_FUNC(svqrshrunb,_n_s16,,)(svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalbt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalbt'}} + SVE_ACLE_FUNC(svqdmlalbt,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalbt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalbt'}} + SVE_ACLE_FUNC(svqdmlalbt,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh'}} + SVE_ACLE_FUNC(svqrdmulh,_s16,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh'}} + SVE_ACLE_FUNC(svqrdmulh,_n_s16,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_lane_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh_lane'}} + SVE_ACLE_FUNC(svqrdmulh_lane,_s16,,)(svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_s16,,)(svundef_s16(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_n_s16,,)(svundef_s16(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_s16,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_n_s16,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh'}} + SVE_ACLE_FUNC(svqdmulh,_s16,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh'}} + SVE_ACLE_FUNC(svqdmulh,_n_s16,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_lane_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh_lane'}} + SVE_ACLE_FUNC(svqdmulh_lane,_s16,,)(svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqshrunt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqshrunt'}} + SVE_ACLE_FUNC(svqshrunt,_n_s16,,)(svundef_u8(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_s16,,)(svundef_s8(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_n_s16,,)(svundef_s8(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslb'}} + SVE_ACLE_FUNC(svqdmlslb,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslb'}} + SVE_ACLE_FUNC(svqdmlslb,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_s16,,)(svundef_s8(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_n_s16,,)(svundef_s8(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_z'}} + SVE_ACLE_FUNC(svqabs,_s16,_z,)(pg, svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_m'}} + SVE_ACLE_FUNC(svqabs,_s16,_m,)(svundef_s16(), pg, svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_x'}} + SVE_ACLE_FUNC(svqabs,_s16,_x,)(pg, svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddlbt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlbt'}} + SVE_ACLE_FUNC(svaddlbt,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svaddlbt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlbt'}} + SVE_ACLE_FUNC(svaddlbt,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_s16,,)(svundef2_s16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svshrnt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svshrnt'}} + SVE_ACLE_FUNC(svshrnt,_n_s16,,)(svundef_s8(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'sveortb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqxtnb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnb'}} + SVE_ACLE_FUNC(svqxtnb,_s16,,)(svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svshrnb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svshrnb'}} + SVE_ACLE_FUNC(svshrnb,_n_s16,,)(svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_s16,,)(svundef_s8(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_n_s16,,)(svundef_s8(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svmls_lane_s16'}} + // overload-error@+1 {{no matching function for call to 'svmls_lane'}} + SVE_ACLE_FUNC(svmls_lane,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalt'}} + SVE_ACLE_FUNC(svqdmlalt,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalt'}} + SVE_ACLE_FUNC(svqdmlalt,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svbcax_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svbcax_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqxtnt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnt'}} + SVE_ACLE_FUNC(svqxtnt,_s16,,)(svundef_s8(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalb'}} + SVE_ACLE_FUNC(svqdmlalb,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalb'}} + SVE_ACLE_FUNC(svqdmlalb,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svsublbt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublbt'}} + SVE_ACLE_FUNC(svsublbt,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsublbt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublbt'}} + SVE_ACLE_FUNC(svsublbt,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqshrnt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqshrnt'}} + SVE_ACLE_FUNC(svqshrnt,_n_s16,,)(svundef_s8(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqdmullt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullt'}} + SVE_ACLE_FUNC(svqdmullt,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmullt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullt'}} + SVE_ACLE_FUNC(svqdmullt,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsublt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsublt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslbt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslbt'}} + SVE_ACLE_FUNC(svqdmlslbt,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslbt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslbt'}} + SVE_ACLE_FUNC(svqdmlslbt,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_z'}} + SVE_ACLE_FUNC(svadalp,_s16,_z,)(pg, svundef_s16(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_m'}} + SVE_ACLE_FUNC(svadalp,_s16,_m,)(pg, svundef_s16(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_x'}} + SVE_ACLE_FUNC(svadalp,_s16,_x,)(pg, svundef_s16(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmul_lane_s16'}} + // overload-error@+1 {{no matching function for call to 'svmul_lane'}} + SVE_ACLE_FUNC(svmul_lane,_s16,,)(svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_s16,,)(svundef_s16(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_n_s16,,)(svundef_s16(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrshrnt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshrnt'}} + SVE_ACLE_FUNC(svqrshrnt,_n_s16,,)(svundef_s8(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svaddp_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svtbx_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_s16,,)(svundef_s16(), svundef_s16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrshrnb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshrnb'}} + SVE_ACLE_FUNC(svqrshrnb,_n_s16,,)(svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svminp_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svminp_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_s16,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_n_s16,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_s16,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_n_s16,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svabalt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svabalt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqshrnb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqshrnb'}} + SVE_ACLE_FUNC(svqshrnb,_n_s16,,)(svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'sveor3_s16'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'sveor3_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqshrunb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqshrunb'}} + SVE_ACLE_FUNC(svqshrunb,_n_s16,,)(svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svmovlb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlb'}} + SVE_ACLE_FUNC(svmovlb,_s16,,)(svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh'}} + SVE_ACLE_FUNC(svqrdmlsh,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh'}} + SVE_ACLE_FUNC(svqrdmlsh,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_lane_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh_lane'}} + SVE_ACLE_FUNC(svqrdmlsh_lane,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslt'}} + SVE_ACLE_FUNC(svqdmlslt,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslt'}} + SVE_ACLE_FUNC(svqdmlslt,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svmatch_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmatch'}} + SVE_ACLE_FUNC(svmatch,_s16,,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqxtunb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtunb'}} + SVE_ACLE_FUNC(svqxtunb,_s16,,)(svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmla_lane_s16'}} + // overload-error@+1 {{no matching function for call to 'svmla_lane'}} + SVE_ACLE_FUNC(svmla_lane,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrshrnb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svrshrnb'}} + SVE_ACLE_FUNC(svrshrnb,_n_s16,,)(svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_s16,,)(const_i16_ptr, const_i16_ptr); + // expected-error@+2 {{use of undeclared identifier 'svshllb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svshllb'}} + SVE_ACLE_FUNC(svshllb,_n_s16,,)(svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_s16,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_n_s16,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_s16,,)(const_i16_ptr, const_i16_ptr); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_s16,,)(svundef_s16(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_n_s16,,)(svundef_s16(), i8); + // expected-error@+2 {{use of undeclared identifier 'svnmatch_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svnmatch'}} + SVE_ACLE_FUNC(svnmatch,_s16,,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaba_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaba_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_s16,,)(svundef_s8(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_n_s16,,)(svundef_s8(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_m'}} + SVE_ACLE_FUNC(svuqadd,_s16,_m,)(pg, svundef_s16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_m'}} + SVE_ACLE_FUNC(svuqadd,_n_s16,_m,)(pg, svundef_s16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_z'}} + SVE_ACLE_FUNC(svuqadd,_s16,_z,)(pg, svundef_s16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_z'}} + SVE_ACLE_FUNC(svuqadd,_n_s16,_z,)(pg, svundef_s16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_x'}} + SVE_ACLE_FUNC(svuqadd,_s16,_x,)(pg, svundef_s16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_x'}} + SVE_ACLE_FUNC(svuqadd,_n_s16,_x,)(pg, svundef_s16(), u16); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svbsl_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svbsl_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svshllt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svshllt'}} + SVE_ACLE_FUNC(svshllt,_n_s16,,)(svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svsubltb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubltb'}} + SVE_ACLE_FUNC(svsubltb,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsubltb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubltb'}} + SVE_ACLE_FUNC(svsubltb,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah'}} + SVE_ACLE_FUNC(svqrdmlah,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah'}} + SVE_ACLE_FUNC(svqrdmlah,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_lane_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah_lane'}} + SVE_ACLE_FUNC(svqrdmlah_lane,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqdmullb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullb'}} + SVE_ACLE_FUNC(svqdmullb,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqdmullb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullb'}} + SVE_ACLE_FUNC(svqdmullb,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqxtunt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtunt'}} + SVE_ACLE_FUNC(svqxtunt,_s16,,)(svundef_u8(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrshrunt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshrunt'}} + SVE_ACLE_FUNC(svqrshrunt,_n_s16,,)(svundef_u8(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svabalb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsublb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_s16,,)(svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsublb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_n_s16,,)(svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_s16,,)(svundef_s16(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_n_s16,,)(svundef_s16(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_n_s16,_x,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_s16,,)(svundef_s16(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_n_s16,,)(svundef_s16(), i8); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_s16,,)(svundef_s16(), svundef_s8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_n_s16,,)(svundef_s16(), svundef_s8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_z'}} + SVE_ACLE_FUNC(svqneg,_s16,_z,)(pg, svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_m'}} + SVE_ACLE_FUNC(svqneg,_s16,_m,)(svundef_s16(), pg, svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_x'}} + SVE_ACLE_FUNC(svqneg,_s16,_x,)(pg, svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmovlt_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlt'}} + SVE_ACLE_FUNC(svmovlt,_s16,,)(svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrshrnt_n_s16'}} + // overload-error@+1 {{use of undeclared identifier 'svrshrnt'}} + SVE_ACLE_FUNC(svrshrnt,_n_s16,,)(svundef_s8(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_s16,_z,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_s16,_m,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_s16,_x,)(pg, svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_n_s16,_z,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_n_s16,_m,)(pg, svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_n_s16,_x,)(pg, svundef_s16(), i16); +} + +void test_s32(svbool_t pg, const uint16_t *const_u16_ptr, const int16_t *const_i16_ptr, const int32_t *const_i32_ptr, const int8_t *const_i8_ptr, const uint8_t *const_u8_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svmullb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmullb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svmullb_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb_lane'}} + SVE_ACLE_FUNC(svmullb_lane,_s32,,)(svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalbt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalbt'}} + SVE_ACLE_FUNC(svqdmlalbt,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalbt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalbt'}} + SVE_ACLE_FUNC(svqdmlalbt,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh'}} + SVE_ACLE_FUNC(svqrdmulh,_s32,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh'}} + SVE_ACLE_FUNC(svqrdmulh,_n_s32,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_s32,,)(svundef_s32(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_n_s32,,)(svundef_s32(), i16); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_s32,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_n_s32,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh'}} + SVE_ACLE_FUNC(svqdmulh,_s32,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh'}} + SVE_ACLE_FUNC(svqdmulh,_n_s32,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_s32,,)(svundef_s16(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_n_s32,,)(svundef_s16(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslb'}} + SVE_ACLE_FUNC(svqdmlslb,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslb'}} + SVE_ACLE_FUNC(svqdmlslb,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslb_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslb_lane'}} + SVE_ACLE_FUNC(svqdmlslb_lane,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_s32,,)(svundef_s16(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_n_s32,,)(svundef_s16(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_z'}} + SVE_ACLE_FUNC(svqabs,_s32,_z,)(pg, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_m'}} + SVE_ACLE_FUNC(svqabs,_s32,_m,)(svundef_s32(), pg, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_x'}} + SVE_ACLE_FUNC(svqabs,_s32,_x,)(pg, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b8_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b8'}} + SVE_ACLE_FUNC(svwhilegt_b8,_s32,,)(i32, i32); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b16_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b16'}} + SVE_ACLE_FUNC(svwhilegt_b16,_s32,,)(i32, i32); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b32_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b32'}} + SVE_ACLE_FUNC(svwhilegt_b32,_s32,,)(i32, i32); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b64_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b64'}} + SVE_ACLE_FUNC(svwhilegt_b64,_s32,,)(i32, i32); + // expected-error@+2 {{use of undeclared identifier 'svaddlbt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlbt'}} + SVE_ACLE_FUNC(svaddlbt,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddlbt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlbt'}} + SVE_ACLE_FUNC(svaddlbt,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_s32,,)(svundef2_s32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhistcnt_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhistcnt_z'}} + SVE_ACLE_FUNC(svhistcnt,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqxtnb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnb'}} + SVE_ACLE_FUNC(svqxtnb,_s32,,)(svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt_lane'}} + SVE_ACLE_FUNC(svmlalt_lane,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_s32,,)(svundef_s16(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_n_s32,,)(svundef_s16(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u32base_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_s32'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _s32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u32offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, u32, offset_s32, )(pg, const_u16_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u32base_offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _offset_s32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u32base_index_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_index_s32'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _index_s32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalt'}} + SVE_ACLE_FUNC(svqdmlalt,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalt'}} + SVE_ACLE_FUNC(svqdmlalt,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalt_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalt_lane'}} + SVE_ACLE_FUNC(svqdmlalt_lane,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svbcax_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svbcax_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqxtnt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnt'}} + SVE_ACLE_FUNC(svqxtnt,_s32,,)(svundef_s16(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalb'}} + SVE_ACLE_FUNC(svqdmlalb,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalb'}} + SVE_ACLE_FUNC(svqdmlalb,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalb_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalb_lane'}} + SVE_ACLE_FUNC(svqdmlalb_lane,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svcdot_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svcdot'}} + SVE_ACLE_FUNC(svcdot,_s32,,)(svundef_s32(), svundef_s8(), svundef_s8(), u64); + // expected-error@+2 {{use of undeclared identifier 'svsublbt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublbt'}} + SVE_ACLE_FUNC(svsublbt,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsublbt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublbt'}} + SVE_ACLE_FUNC(svsublbt,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmullt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullt'}} + SVE_ACLE_FUNC(svqdmullt,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmullt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullt'}} + SVE_ACLE_FUNC(svqdmullt,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmullt_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullt_lane'}} + SVE_ACLE_FUNC(svqdmullt_lane,_s32,,)(svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svsublt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsublt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslbt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslbt'}} + SVE_ACLE_FUNC(svqdmlslbt,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslbt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslbt'}} + SVE_ACLE_FUNC(svqdmlslbt,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_z'}} + SVE_ACLE_FUNC(svadalp,_s32,_z,)(pg, svundef_s32(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_m'}} + SVE_ACLE_FUNC(svadalp,_s32,_m,)(pg, svundef_s32(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_x'}} + SVE_ACLE_FUNC(svadalp,_s32,_x,)(pg, svundef_s32(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b8_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b8'}} + SVE_ACLE_FUNC(svwhilege_b8,_s32,,)(i32, i32); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b16_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b16'}} + SVE_ACLE_FUNC(svwhilege_b16,_s32,,)(i32, i32); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b32_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b32'}} + SVE_ACLE_FUNC(svwhilege_b32,_s32,,)(i32, i32); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b64_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b64'}} + SVE_ACLE_FUNC(svwhilege_b64,_s32,,)(i32, i32); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_s32,,)(svundef_s32(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_n_s32,,)(svundef_s32(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svaddp_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svtbx_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_s32,,)(svundef_s32(), svundef_s32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svminp_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svminp_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_s32,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_n_s32,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_s32,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_n_s32,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svabalt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svabalt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'sveor3_s32'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'sveor3_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svmovlb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlb'}} + SVE_ACLE_FUNC(svmovlb,_s32,,)(svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, , _s32)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u32, offset, _s32)(pg, i32_ptr, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _offset, _s32)(pg, svundef_u32(), i64, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_index_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _index, _s32)(pg, svundef_u32(), i64, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh'}} + SVE_ACLE_FUNC(svqrdmlsh,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh'}} + SVE_ACLE_FUNC(svqrdmlsh,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslt'}} + SVE_ACLE_FUNC(svqdmlslt,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslt'}} + SVE_ACLE_FUNC(svqdmlslt,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslt_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslt_lane'}} + SVE_ACLE_FUNC(svqdmlslt_lane,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svmullt_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt_lane'}} + SVE_ACLE_FUNC(svmullt_lane,_s32,,)(svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u32base_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_s32'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _s32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u32offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, u32, offset_s32, )(pg, const_i16_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u32base_offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _offset_s32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u32base_index_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_index_s32'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _index_s32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqxtunb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtunb'}} + SVE_ACLE_FUNC(svqxtunb,_s32,,)(svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_s32,,)(const_i32_ptr, const_i32_ptr); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_s32,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_n_s32,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_s32,,)(const_i32_ptr, const_i32_ptr); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb_lane'}} + SVE_ACLE_FUNC(svmlalb_lane,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u32base_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_s32'}} + SVE_ACLE_FUNC(svldnt1sb_gather, _u32base, _s32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u32offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1sb_gather_, u32, offset_s32, )(pg, const_i8_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u32base_offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1sb_gather, _u32base, _offset_s32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_s32,,)(svundef_s32(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_n_s32,,)(svundef_s32(), i16); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u32base_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_s32'}} + SVE_ACLE_FUNC(svldnt1ub_gather, _u32base, _s32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u32offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1ub_gather_, u32, offset_s32, )(pg, const_u8_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u32base_offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1ub_gather, _u32base, _offset_s32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaba_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaba_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_s32,,)(svundef_s16(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_n_s32,,)(svundef_s16(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_m'}} + SVE_ACLE_FUNC(svuqadd,_s32,_m,)(pg, svundef_s32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_m'}} + SVE_ACLE_FUNC(svuqadd,_n_s32,_m,)(pg, svundef_s32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_z'}} + SVE_ACLE_FUNC(svuqadd,_s32,_z,)(pg, svundef_s32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_z'}} + SVE_ACLE_FUNC(svuqadd,_n_s32,_z,)(pg, svundef_s32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_x'}} + SVE_ACLE_FUNC(svuqadd,_s32,_x,)(pg, svundef_s32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_x'}} + SVE_ACLE_FUNC(svuqadd,_n_s32,_x,)(pg, svundef_s32(), u32); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svbsl_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svbsl_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svsubltb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubltb'}} + SVE_ACLE_FUNC(svsubltb,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsubltb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubltb'}} + SVE_ACLE_FUNC(svsubltb,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_s32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _s32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, u32, offset, _s32)(pg, const_i32_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset_s32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _offset_s32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_index_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index_s32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _index_s32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah'}} + SVE_ACLE_FUNC(svqrdmlah,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah'}} + SVE_ACLE_FUNC(svqrdmlah,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqdmullb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullb'}} + SVE_ACLE_FUNC(svqdmullb,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqdmullb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullb'}} + SVE_ACLE_FUNC(svqdmullb,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqdmullb_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullb_lane'}} + SVE_ACLE_FUNC(svqdmullb_lane,_s32,,)(svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u32base_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, , _s32)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u32offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, u32, offset, _s32)(pg, i16_ptr, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u32base_offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, _offset, _s32)(pg, svundef_u32(), i64, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u32base_index_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_index'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, _index, _s32)(pg, svundef_u32(), i64, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u32base_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter'}} + SVE_ACLE_FUNC(svstnt1b_scatter, _u32base, , _s32)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u32offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter_, u32, offset, _s32)(pg, i8_ptr, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u32base_offset_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter, _u32base, _offset, _s32)(pg, svundef_u32(), i64, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqxtunt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtunt'}} + SVE_ACLE_FUNC(svqxtunt,_s32,,)(svundef_u16(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svsublb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_s32,,)(svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsublb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_n_s32,,)(svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_s32,,)(svundef_s32(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_n_s32,,)(svundef_s32(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_n_s32,_x,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_s32,,)(svundef_s32(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_n_s32,,)(svundef_s32(), i16); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb_lane'}} + SVE_ACLE_FUNC(svmlslb_lane,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_n_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_n_s32,,)(svundef_s32(), svundef_s16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_lane_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt_lane'}} + SVE_ACLE_FUNC(svmlslt_lane,_s32,,)(svundef_s32(), svundef_s16(), svundef_s16(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_z'}} + SVE_ACLE_FUNC(svqneg,_s32,_z,)(pg, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_m'}} + SVE_ACLE_FUNC(svqneg,_s32,_m,)(svundef_s32(), pg, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_x'}} + SVE_ACLE_FUNC(svqneg,_s32,_x,)(pg, svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmovlt_s32'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlt'}} + SVE_ACLE_FUNC(svmovlt,_s32,,)(svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_s32,_z,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_s32,_m,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_s32,_x,)(pg, svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_n_s32,_z,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_n_s32,_m,)(pg, svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_n_s32,_x,)(pg, svundef_s32(), i32); +} + +void test_s64(svbool_t pg, const uint16_t *const_u16_ptr, const int16_t *const_i16_ptr, const int64_t *const_i64_ptr, const int8_t *const_i8_ptr, const uint8_t *const_u8_ptr, const int32_t *const_i32_ptr, const uint32_t *const_u32_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svmullb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmullb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalbt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalbt'}} + SVE_ACLE_FUNC(svqdmlalbt,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalbt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalbt'}} + SVE_ACLE_FUNC(svqdmlalbt,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh'}} + SVE_ACLE_FUNC(svqrdmulh,_s64,,)(svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmulh_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmulh'}} + SVE_ACLE_FUNC(svqrdmulh,_n_s64,,)(svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_s64,,)(svundef_s64(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_n_s64,,)(svundef_s64(), i32); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_s64,,)(svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_n_s64,,)(svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh'}} + SVE_ACLE_FUNC(svqdmulh,_s64,,)(svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqdmulh_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmulh'}} + SVE_ACLE_FUNC(svqdmulh,_n_s64,,)(svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_s64,,)(svundef_s32(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_n_s64,,)(svundef_s32(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslb'}} + SVE_ACLE_FUNC(svqdmlslb,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslb'}} + SVE_ACLE_FUNC(svqdmlslb,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_s64,,)(svundef_s32(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_n_s64,,)(svundef_s32(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_z'}} + SVE_ACLE_FUNC(svqabs,_s64,_z,)(pg, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_m'}} + SVE_ACLE_FUNC(svqabs,_s64,_m,)(svundef_s64(), pg, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqabs_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqabs_x'}} + SVE_ACLE_FUNC(svqabs,_s64,_x,)(pg, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b8_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b8'}} + SVE_ACLE_FUNC(svwhilegt_b8,_s64,,)(i64, i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b16_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b16'}} + SVE_ACLE_FUNC(svwhilegt_b16,_s64,,)(i64, i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b32_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b32'}} + SVE_ACLE_FUNC(svwhilegt_b32,_s64,,)(i64, i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b64_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b64'}} + SVE_ACLE_FUNC(svwhilegt_b64,_s64,,)(i64, i64); + // expected-error@+2 {{use of undeclared identifier 'svaddlbt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlbt'}} + SVE_ACLE_FUNC(svaddlbt,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaddlbt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlbt'}} + SVE_ACLE_FUNC(svaddlbt,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_s64,,)(svundef2_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svhistcnt_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhistcnt_z'}} + SVE_ACLE_FUNC(svhistcnt,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqxtnb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnb'}} + SVE_ACLE_FUNC(svqxtnb,_s64,,)(svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_s64,,)(svundef_s32(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_n_s64,,)(svundef_s32(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_s64'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _s64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, s64, offset_s64, )(pg, const_u16_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, u64, offset_s64, )(pg, const_u16_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _offset_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_s64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, s64, index_s64, )(pg, const_u16_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, u64, index_s64, )(pg, const_u16_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64base_index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _index_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalt'}} + SVE_ACLE_FUNC(svqdmlalt,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalt'}} + SVE_ACLE_FUNC(svqdmlalt,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svbcax_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svbcax_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqxtnt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnt'}} + SVE_ACLE_FUNC(svqxtnt,_s64,,)(svundef_s32(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalb'}} + SVE_ACLE_FUNC(svqdmlalb,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlalb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlalb'}} + SVE_ACLE_FUNC(svqdmlalb,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsublbt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublbt'}} + SVE_ACLE_FUNC(svsublbt,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsublbt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublbt'}} + SVE_ACLE_FUNC(svsublbt,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqdmullt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullt'}} + SVE_ACLE_FUNC(svqdmullt,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmullt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullt'}} + SVE_ACLE_FUNC(svqdmullt,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svsublt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsublt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslbt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslbt'}} + SVE_ACLE_FUNC(svqdmlslbt,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslbt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslbt'}} + SVE_ACLE_FUNC(svqdmlslbt,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_z'}} + SVE_ACLE_FUNC(svadalp,_s64,_z,)(pg, svundef_s64(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_m'}} + SVE_ACLE_FUNC(svadalp,_s64,_m,)(pg, svundef_s64(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_x'}} + SVE_ACLE_FUNC(svadalp,_s64,_x,)(pg, svundef_s64(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b8_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b8'}} + SVE_ACLE_FUNC(svwhilege_b8,_s64,,)(i64, i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b16_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b16'}} + SVE_ACLE_FUNC(svwhilege_b16,_s64,,)(i64, i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b32_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b32'}} + SVE_ACLE_FUNC(svwhilege_b32,_s64,,)(i64, i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b64_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b64'}} + SVE_ACLE_FUNC(svwhilege_b64,_s64,,)(i64, i64); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_s64,,)(svundef_s64(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_n_s64,,)(svundef_s64(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddp_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqadd_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svtbx_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_s64,,)(svundef_s64(), svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svminp_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svminp_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_s64,,)(svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_n_s64,,)(svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_s64,,)(svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_n_s64,,)(svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svabalt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svabalt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'sveor3_s64'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'sveor3_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svhadd_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svmovlb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlb'}} + SVE_ACLE_FUNC(svmovlb,_s64,,)(svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, , _s64)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, s64, offset, _s64)(pg, i64_ptr, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u64, offset, _s64)(pg, i64_ptr, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _offset, _s64)(pg, svundef_u64(), i64, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_s64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter_, s64, index, _s64)(pg, i64_ptr, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u64, index, _s64)(pg, i64_ptr, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _index, _s64)(pg, svundef_u64(), i64, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh'}} + SVE_ACLE_FUNC(svqrdmlsh,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlsh_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlsh'}} + SVE_ACLE_FUNC(svqrdmlsh,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslt'}} + SVE_ACLE_FUNC(svqdmlslt,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmlslt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmlslt'}} + SVE_ACLE_FUNC(svqdmlslt,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_s64'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _s64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, s64, offset_s64, )(pg, const_i16_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, u64, offset_s64, )(pg, const_i16_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _offset_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_s64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, s64, index_s64, )(pg, const_i16_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, u64, index_s64, )(pg, const_i16_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64base_index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _index_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqxtunb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtunb'}} + SVE_ACLE_FUNC(svqxtunb,_s64,,)(svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_s64,,)(const_i64_ptr, const_i64_ptr); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_s64,,)(svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_n_s64,,)(svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_s64,,)(const_i64_ptr, const_i64_ptr); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_s64'}} + SVE_ACLE_FUNC(svldnt1sb_gather, _u64base, _s64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sb_gather_, s64, offset_s64, )(pg, const_i8_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sb_gather_, u64, offset_s64, )(pg, const_i8_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sb_gather, _u64base, _offset_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_s64,,)(svundef_s64(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_n_s64,,)(svundef_s64(), i32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_s64'}} + SVE_ACLE_FUNC(svldnt1ub_gather, _u64base, _s64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1ub_gather_, s64, offset_s64, )(pg, const_u8_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1ub_gather_, u64, offset_s64, )(pg, const_u8_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1ub_gather, _u64base, _offset_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaba_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svaba_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_s64,,)(svundef_s32(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_n_s64,,)(svundef_s32(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_m'}} + SVE_ACLE_FUNC(svuqadd,_s64,_m,)(pg, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_m'}} + SVE_ACLE_FUNC(svuqadd,_n_s64,_m,)(pg, svundef_s64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_z'}} + SVE_ACLE_FUNC(svuqadd,_s64,_z,)(pg, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_z'}} + SVE_ACLE_FUNC(svuqadd,_n_s64,_z,)(pg, svundef_s64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_x'}} + SVE_ACLE_FUNC(svuqadd,_s64,_x,)(pg, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svuqadd_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svuqadd_x'}} + SVE_ACLE_FUNC(svuqadd,_n_s64,_x,)(pg, svundef_s64(), u64); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_s64'}} + SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _s64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sw_gather_, s64, offset_s64, )(pg, const_i32_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sw_gather_, u64, offset_s64, )(pg, const_i32_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _offset_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_s64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1sw_gather_, s64, index_s64, )(pg, const_i32_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1sw_gather_, u64, index_s64, )(pg, const_i32_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64base_index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _index_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svbsl_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svbsl_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsubltb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubltb'}} + SVE_ACLE_FUNC(svsubltb,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsubltb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubltb'}} + SVE_ACLE_FUNC(svsubltb,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_s64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _s64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, s64, offset, _s64)(pg, const_i64_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, u64, offset, _s64)(pg, const_i64_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _offset_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_s64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index'}} + SVE_ACLE_FUNC(svldnt1_gather_, s64, index, _s64)(pg, const_i64_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index'}} + SVE_ACLE_FUNC(svldnt1_gather_, u64, index, _s64)(pg, const_i64_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _index_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah'}} + SVE_ACLE_FUNC(svqrdmlah,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrdmlah_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqrdmlah'}} + SVE_ACLE_FUNC(svqrdmlah,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqdmullb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullb'}} + SVE_ACLE_FUNC(svqdmullb,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqdmullb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqdmullb'}} + SVE_ACLE_FUNC(svqdmullb,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_s64'}} + SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _s64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1uw_gather_, s64, offset_s64, )(pg, const_u32_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1uw_gather_, u64, offset_s64, )(pg, const_u32_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_offset_s64'}} + SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _offset_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_s64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1uw_gather_, s64, index_s64, )(pg, const_u32_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1uw_gather_, u64, index_s64, )(pg, const_u32_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64base_index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_index_s64'}} + SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _index_s64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, , _s64)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, s64, offset, _s64)(pg, i16_ptr, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, u64, offset, _s64)(pg, i16_ptr, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, _offset, _s64)(pg, svundef_u64(), i64, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_s64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_index'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, s64, index, _s64)(pg, i16_ptr, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_index'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, u64, index, _s64)(pg, i16_ptr, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64base_index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_index'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, _index, _s64)(pg, svundef_u64(), i64, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter'}} + SVE_ACLE_FUNC(svstnt1b_scatter, _u64base, , _s64)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter_, s64, offset, _s64)(pg, i8_ptr, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter_, u64, offset, _s64)(pg, i8_ptr, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter, _u64base, _offset, _s64)(pg, svundef_u64(), i64, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64base_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter'}} + SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, , _s64)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_s64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1w_scatter_, s64, offset, _s64)(pg, i32_ptr, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1w_scatter_, u64, offset, _s64)(pg, i32_ptr, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64base_offset_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, _offset, _s64)(pg, svundef_u64(), i64, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_s64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_index'}} + SVE_ACLE_FUNC(svstnt1w_scatter_, s64, index, _s64)(pg, i32_ptr, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_index'}} + SVE_ACLE_FUNC(svstnt1w_scatter_, u64, index, _s64)(pg, i32_ptr, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64base_index_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_index'}} + SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, _index, _s64)(pg, svundef_u64(), i64, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqxtunt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtunt'}} + SVE_ACLE_FUNC(svqxtunt,_s64,,)(svundef_u32(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svsublb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_s64,,)(svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsublb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_n_s64,,)(svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_s64,,)(svundef_s64(), svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_n_s64,,)(svundef_s64(), svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_n_s64,_x,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_s64,,)(svundef_s64(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_n_s64,,)(svundef_s64(), i32); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_s64,,)(svundef_s64(), svundef_s32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_n_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_n_s64,,)(svundef_s64(), svundef_s32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_z'}} + SVE_ACLE_FUNC(svqneg,_s64,_z,)(pg, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_m'}} + SVE_ACLE_FUNC(svqneg,_s64,_m,)(svundef_s64(), pg, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqneg_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqneg_x'}} + SVE_ACLE_FUNC(svqneg,_s64,_x,)(pg, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svmovlt_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlt'}} + SVE_ACLE_FUNC(svmovlt,_s64,,)(svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_s64,_z,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_s64,_m,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_s64,_x,)(pg, svundef_s64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_n_s64,_z,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_n_s64,_m,)(pg, svundef_s64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_s64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_n_s64,_x,)(pg, svundef_s64(), i64); +} + +void test_u8(svbool_t pg, const uint8_t *const_u8_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svhistseg_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svhistseg'}} + SVE_ACLE_FUNC(svhistseg,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_pair_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullb_pair'}} + SVE_ACLE_FUNC(svpmullb_pair,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_pair_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullb_pair'}} + SVE_ACLE_FUNC(svpmullb_pair,_n_u8,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_u8,,)(svundef2_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_u8,_z,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_n_u8,_z,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_n_u8,_m,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_n_u8,_x,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svpmul_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svpmul'}} + SVE_ACLE_FUNC(svpmul,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svpmul_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svpmul'}} + SVE_ACLE_FUNC(svpmul,_n_u8,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'sveortb_u8'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svbcax_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbcax_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_u8,_z,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_u8,_m,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_u8,_x,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_n_u8,_z,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_n_u8,_m,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_n_u8,_x,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_pair_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullt_pair'}} + SVE_ACLE_FUNC(svpmullt_pair,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_pair_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullt_pair'}} + SVE_ACLE_FUNC(svpmullt_pair,_n_u8,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_u8,_z,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_n_u8,_z,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_n_u8,_m,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_n_u8,_x,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svaddp_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_n_u8,_m,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_u8,_z,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_n_u8,_z,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_n_u8,_x,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svtbx_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svminp_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svminp_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_m'}} + SVE_ACLE_FUNC(svsqadd,_u8,_m,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_m'}} + SVE_ACLE_FUNC(svsqadd,_n_u8,_m,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_z'}} + SVE_ACLE_FUNC(svsqadd,_u8,_z,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_z'}} + SVE_ACLE_FUNC(svsqadd,_n_u8,_z,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_x'}} + SVE_ACLE_FUNC(svsqadd,_u8,_x,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_x'}} + SVE_ACLE_FUNC(svsqadd,_n_u8,_x,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_u8,_z,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_n_u8,_z,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_n_u8,_m,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_n_u8,_x,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'sveor3_u8'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'sveor3_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_n_u8,_m,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_u8,_z,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_n_u8,_z,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_n_u8,_x,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmatch_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svmatch'}} + SVE_ACLE_FUNC(svmatch,_u8,,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_u8,,)(const_u8_ptr, const_u8_ptr); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_n_u8,_m,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_u8,_z,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_n_u8,_z,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_n_u8,_x,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_u8,,)(const_u8_ptr, const_u8_ptr); + // expected-error@+2 {{use of undeclared identifier 'svnmatch_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svnmatch'}} + SVE_ACLE_FUNC(svnmatch,_u8,,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaba_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaba_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_u8'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svbsl_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbsl_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_u8,_z,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_u8,_m,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_u8,_x,)(pg, svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_n_u8,_z,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_n_u8,_m,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_n_u8,_x,)(pg, svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_u8,,)(svundef_u8(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_n_u8,,)(svundef_u8(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_u8,_z,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_u8,_m,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_u8,_x,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_n_u8,_z,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_n_u8,_m,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_n_u8,_x,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_u8,_z,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_u8,_m,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_u8,_x,)(pg, svundef_u8(), svundef_s8()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u8_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_n_u8,_z,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u8_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_n_u8,_m,)(pg, svundef_u8(), i8); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u8_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_n_u8,_x,)(pg, svundef_u8(), i8); +} + +void test_u16(svbool_t pg, const uint16_t *const_u16_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svmullb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmullb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullb'}} + SVE_ACLE_FUNC(svpmullb,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullb'}} + SVE_ACLE_FUNC(svpmullb,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_u16,,)(svundef_u16(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_n_u16,,)(svundef_u16(), u8); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_u16,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_n_u16,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_u16,,)(svundef_u8(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_n_u16,,)(svundef_u8(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_u16,,)(svundef_u8(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_n_u16,,)(svundef_u8(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_u16,,)(svundef2_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_u16,_z,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_n_u16,_z,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_n_u16,_m,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_n_u16,_x,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'sveortb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqxtnb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnb'}} + SVE_ACLE_FUNC(svqxtnb,_u16,,)(svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_u16,,)(svundef_u16(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_n_u16,,)(svundef_u16(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_u16,,)(svundef_u8(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_n_u16,,)(svundef_u8(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svbcax_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svbcax_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqxtnt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnt'}} + SVE_ACLE_FUNC(svqxtnt,_u16,,)(svundef_u8(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_u16,_z,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_u16,_m,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_u16,_x,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_n_u16,_z,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_n_u16,_m,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_n_u16,_x,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svsublt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svsublt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_z'}} + SVE_ACLE_FUNC(svadalp,_u16,_z,)(pg, svundef_u16(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_m'}} + SVE_ACLE_FUNC(svadalp,_u16,_m,)(pg, svundef_u16(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_x'}} + SVE_ACLE_FUNC(svadalp,_u16,_x,)(pg, svundef_u16(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullt'}} + SVE_ACLE_FUNC(svpmullt,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullt'}} + SVE_ACLE_FUNC(svpmullt,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_u16,,)(svundef_u16(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_n_u16,,)(svundef_u16(), u8); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_u16,_z,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_n_u16,_z,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_n_u16,_m,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_n_u16,_x,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svaddp_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_n_u16,_m,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_u16,_z,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_n_u16,_z,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_n_u16,_x,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svtbx_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svminp_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svminp_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_m'}} + SVE_ACLE_FUNC(svsqadd,_u16,_m,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_m'}} + SVE_ACLE_FUNC(svsqadd,_n_u16,_m,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_z'}} + SVE_ACLE_FUNC(svsqadd,_u16,_z,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_z'}} + SVE_ACLE_FUNC(svsqadd,_n_u16,_z,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_x'}} + SVE_ACLE_FUNC(svsqadd,_u16,_x,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_x'}} + SVE_ACLE_FUNC(svsqadd,_n_u16,_x,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_u16,_z,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_n_u16,_z,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_n_u16,_m,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_n_u16,_x,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_u16,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_n_u16,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_u16,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_n_u16,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svabalt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_u16,,)(svundef_u16(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svabalt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_n_u16,,)(svundef_u16(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'sveor3_u16'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'sveor3_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_n_u16,_m,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_u16,_z,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_n_u16,_z,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_n_u16,_x,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svmovlb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlb'}} + SVE_ACLE_FUNC(svmovlb,_u16,,)(svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svmatch_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmatch'}} + SVE_ACLE_FUNC(svmatch,_u16,,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_u16,,)(const_u16_ptr, const_u16_ptr); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_n_u16,_m,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_u16,_z,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_n_u16,_z,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_n_u16,_x,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_u16,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_n_u16,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_u16,,)(const_u16_ptr, const_u16_ptr); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_u16,,)(svundef_u16(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_n_u16,,)(svundef_u16(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_u16,,)(svundef_u16(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_n_u16,,)(svundef_u16(), u8); + // expected-error@+2 {{use of undeclared identifier 'svnmatch_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svnmatch'}} + SVE_ACLE_FUNC(svnmatch,_u16,,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaba_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaba_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_u16,,)(svundef_u8(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_n_u16,,)(svundef_u8(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svbsl_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svbsl_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_u16,_z,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_u16,_m,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_u16,_x,)(pg, svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_n_u16,_z,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_n_u16,_m,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_n_u16,_x,)(pg, svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svabalb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_u16,,)(svundef_u16(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_n_u16,,)(svundef_u16(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svsublb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_u16,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svsublb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_n_u16,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_u16,,)(svundef_u16(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_n_u16,,)(svundef_u16(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_u16,_z,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_u16,_m,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_u16,_x,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_n_u16,_z,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_n_u16,_m,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_n_u16,_x,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_u16,,)(svundef_u16(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_n_u16,,)(svundef_u16(), u8); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_u16,,)(svundef_u16(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_n_u16,,)(svundef_u16(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_u16,,)(svundef_u16(), svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_n_u16,,)(svundef_u16(), svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svmovlt_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlt'}} + SVE_ACLE_FUNC(svmovlt,_u16,,)(svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_u16,_z,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_u16,_m,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_u16,_x,)(pg, svundef_u16(), svundef_s16()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_n_u16,_z,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_n_u16,_m,)(pg, svundef_u16(), i16); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_n_u16,_x,)(pg, svundef_u16(), i16); +} + +void test_u32(svbool_t pg, const uint16_t *const_u16_ptr, const int16_t *const_i16_ptr, const uint32_t *const_u32_ptr, const int8_t *const_i8_ptr, const uint8_t *const_u8_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svmullb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_u32,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmullb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_n_u32,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_pair_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullb_pair'}} + SVE_ACLE_FUNC(svpmullb_pair,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_pair_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullb_pair'}} + SVE_ACLE_FUNC(svpmullb_pair,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_u32,,)(svundef_u32(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_n_u32,,)(svundef_u32(), u16); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_u32,,)(svundef_u16(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_n_u32,,)(svundef_u16(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_u32,,)(svundef_u16(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_n_u32,,)(svundef_u16(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b8_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b8'}} + SVE_ACLE_FUNC(svwhilegt_b8,_u32,,)(u32, u32); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b16_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b16'}} + SVE_ACLE_FUNC(svwhilegt_b16,_u32,,)(u32, u32); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b32_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b32'}} + SVE_ACLE_FUNC(svwhilegt_b32,_u32,,)(u32, u32); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b64_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b64'}} + SVE_ACLE_FUNC(svwhilegt_b64,_u32,,)(u32, u32); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_u32,,)(svundef2_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_u32,_z,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_n_u32,_z,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_n_u32,_m,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_n_u32,_x,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhistcnt_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhistcnt_z'}} + SVE_ACLE_FUNC(svhistcnt,_u32,_z,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqxtnb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnb'}} + SVE_ACLE_FUNC(svqxtnb,_u32,,)(svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_u32,,)(svundef_u32(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_n_u32,,)(svundef_u32(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_u32,,)(svundef_u16(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_n_u32,,)(svundef_u16(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u32base_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_u32'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _u32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u32offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, u32, offset_u32, )(pg, const_u16_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u32base_offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _offset_u32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u32base_index_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_index_u32'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u32base, _index_u32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svbcax_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svbcax_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqxtnt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnt'}} + SVE_ACLE_FUNC(svqxtnt,_u32,,)(svundef_u16(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_u32,_z,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_u32,_m,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_u32,_x,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_n_u32,_z,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_n_u32,_m,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_n_u32,_x,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svsublt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_u32,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svsublt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_n_u32,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_z'}} + SVE_ACLE_FUNC(svadalp,_u32,_z,)(pg, svundef_u32(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_m'}} + SVE_ACLE_FUNC(svadalp,_u32,_m,)(pg, svundef_u32(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_x'}} + SVE_ACLE_FUNC(svadalp,_u32,_x,)(pg, svundef_u32(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b8_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b8'}} + SVE_ACLE_FUNC(svwhilege_b8,_u32,,)(u32, u32); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b16_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b16'}} + SVE_ACLE_FUNC(svwhilege_b16,_u32,,)(u32, u32); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b32_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b32'}} + SVE_ACLE_FUNC(svwhilege_b32,_u32,,)(u32, u32); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b64_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b64'}} + SVE_ACLE_FUNC(svwhilege_b64,_u32,,)(u32, u32); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_pair_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullt_pair'}} + SVE_ACLE_FUNC(svpmullt_pair,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_pair_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullt_pair'}} + SVE_ACLE_FUNC(svpmullt_pair,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_u32,,)(svundef_u32(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_n_u32,,)(svundef_u32(), u16); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_u32,_z,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_n_u32,_z,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_n_u32,_m,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_n_u32,_x,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svadclt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svadclt'}} + SVE_ACLE_FUNC(svadclt,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svadclt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svadclt'}} + SVE_ACLE_FUNC(svadclt,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svaddp_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrecpe_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrecpe_z'}} + SVE_ACLE_FUNC(svrecpe,_u32,_z,)(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrecpe_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrecpe_m'}} + SVE_ACLE_FUNC(svrecpe,_u32,_m,)(svundef_u32(), pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrecpe_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrecpe_x'}} + SVE_ACLE_FUNC(svrecpe,_u32,_x,)(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_n_u32,_m,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_u32,_z,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_n_u32,_z,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_n_u32,_x,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_u32,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_n_u32,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svtbx_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_u32,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_n_u32,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svminp_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svminp_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_m'}} + SVE_ACLE_FUNC(svsqadd,_u32,_m,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_m'}} + SVE_ACLE_FUNC(svsqadd,_n_u32,_m,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_z'}} + SVE_ACLE_FUNC(svsqadd,_u32,_z,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_z'}} + SVE_ACLE_FUNC(svsqadd,_n_u32,_z,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_x'}} + SVE_ACLE_FUNC(svsqadd,_u32,_x,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_x'}} + SVE_ACLE_FUNC(svsqadd,_n_u32,_x,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_u32,_z,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_n_u32,_z,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_n_u32,_m,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_n_u32,_x,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svabalt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_u32,,)(svundef_u32(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svabalt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_n_u32,,)(svundef_u32(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'sveor3_u32'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'sveor3_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_n_u32,_m,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_u32,_z,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_n_u32,_z,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_n_u32,_x,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svmovlb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlb'}} + SVE_ACLE_FUNC(svmovlb,_u32,,)(svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, , _u32)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u32, offset, _u32)(pg, u32_ptr, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _offset, _u32)(pg, svundef_u32(), i64, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_index_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _index, _u32)(pg, svundef_u32(), i64, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsbclt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsbclt'}} + SVE_ACLE_FUNC(svsbclt,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsbclt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsbclt'}} + SVE_ACLE_FUNC(svsbclt,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svmullt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_u32,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_n_u32,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u32base_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_u32'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _u32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u32offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, u32, offset_u32, )(pg, const_i16_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u32base_offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _offset_u32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u32base_index_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_index_u32'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u32base, _index_u32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_u32,,)(const_u32_ptr, const_u32_ptr); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_n_u32,_m,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_u32,_z,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_n_u32,_z,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_n_u32,_x,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_u32,,)(const_u32_ptr, const_u32_ptr); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_u32,,)(svundef_u32(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_n_u32,,)(svundef_u32(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u32base_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_u32'}} + SVE_ACLE_FUNC(svldnt1sb_gather, _u32base, _u32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u32offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1sb_gather_, u32, offset_u32, )(pg, const_i8_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u32base_offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1sb_gather, _u32base, _offset_u32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_u32,,)(svundef_u32(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_n_u32,,)(svundef_u32(), u16); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u32base_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_u32'}} + SVE_ACLE_FUNC(svldnt1ub_gather, _u32base, _u32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u32offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1ub_gather_, u32, offset_u32, )(pg, const_u8_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u32base_offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1ub_gather, _u32base, _offset_u32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaba_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaba_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_u32,,)(svundef_u16(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_n_u32,,)(svundef_u16(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svbsl_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svbsl_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svadclb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svadclb'}} + SVE_ACLE_FUNC(svadclb,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svadclb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svadclb'}} + SVE_ACLE_FUNC(svadclb,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_u32,_z,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_u32,_m,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_u32,_x,)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_n_u32,_z,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_n_u32,_m,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_n_u32,_x,)(pg, svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_u32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _u32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, u32, offset, _u32)(pg, const_u32_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset_u32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _offset_u32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_index_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index_u32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _index_u32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_u32,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_n_u32,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u32base_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, , _u32)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u32offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, u32, offset, _u32)(pg, u16_ptr, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u32base_offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, _offset, _u32)(pg, svundef_u32(), i64, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u32base_index_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_index'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u32base, _index, _u32)(pg, svundef_u32(), i64, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u32base_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter'}} + SVE_ACLE_FUNC(svstnt1b_scatter, _u32base, , _u32)(pg, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u32offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter_, u32, offset, _u32)(pg, u8_ptr, svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u32base_offset_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter, _u32base, _offset, _u32)(pg, svundef_u32(), i64, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_u32,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_n_u32,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svabalb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_u32,,)(svundef_u32(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_n_u32,,)(svundef_u32(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svsublb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_u32,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svsublb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_n_u32,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svsbclb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsbclb'}} + SVE_ACLE_FUNC(svsbclb,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsbclb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsbclb'}} + SVE_ACLE_FUNC(svsbclb,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_u32,,)(svundef_u32(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_n_u32,,)(svundef_u32(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_u32,_z,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_u32,_m,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_u32,_x,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_n_u32,_z,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_n_u32,_m,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_n_u32,_x,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svrsqrte_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrsqrte_z'}} + SVE_ACLE_FUNC(svrsqrte,_u32,_z,)(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrsqrte_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrsqrte_m'}} + SVE_ACLE_FUNC(svrsqrte,_u32,_m,)(svundef_u32(), pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svrsqrte_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrsqrte_x'}} + SVE_ACLE_FUNC(svrsqrte,_u32,_x,)(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_u32,,)(svundef_u32(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_n_u32,,)(svundef_u32(), u16); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_u32,,)(svundef_u32(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_n_u32,,)(svundef_u32(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_u32,,)(svundef_u32(), svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_n_u32,,)(svundef_u32(), svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svmovlt_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlt'}} + SVE_ACLE_FUNC(svmovlt,_u32,,)(svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_u32,_z,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_u32,_m,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_u32,_x,)(pg, svundef_u32(), svundef_s32()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_n_u32,_z,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_n_u32,_m,)(pg, svundef_u32(), i32); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_n_u32,_x,)(pg, svundef_u32(), i32); +} + +void test_u64(svbool_t pg, const uint16_t *const_u16_ptr, const int16_t *const_i16_ptr, const uint64_t *const_u64_ptr, const int8_t *const_i8_ptr, const uint8_t *const_u8_ptr, const int32_t *const_i32_ptr, const uint32_t *const_u32_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svmullb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmullb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmullb'}} + SVE_ACLE_FUNC(svmullb,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullb'}} + SVE_ACLE_FUNC(svpmullb,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullb'}} + SVE_ACLE_FUNC(svpmullb,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_u64,,)(svundef_u64(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddwb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwb'}} + SVE_ACLE_FUNC(svaddwb,_n_u64,,)(svundef_u64(), u32); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnb'}} + SVE_ACLE_FUNC(svsubhnb,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_u64,,)(svundef_u32(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnt'}} + SVE_ACLE_FUNC(svrsubhnt,_n_u64,,)(svundef_u32(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svnbsl_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svnbsl'}} + SVE_ACLE_FUNC(svnbsl,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_u64,,)(svundef_u32(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svsubhnt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubhnt'}} + SVE_ACLE_FUNC(svsubhnt,_n_u64,,)(svundef_u32(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b8_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b8'}} + SVE_ACLE_FUNC(svwhilegt_b8,_u64,,)(u64, u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b16_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b16'}} + SVE_ACLE_FUNC(svwhilegt_b16,_u64,,)(u64, u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b32_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b32'}} + SVE_ACLE_FUNC(svwhilegt_b32,_u64,,)(u64, u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilegt_b64_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilegt_b64'}} + SVE_ACLE_FUNC(svwhilegt_b64,_u64,,)(u64, u64); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_u64,,)(svundef2_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_u64,_z,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_z'}} + SVE_ACLE_FUNC(svhsubr,_n_u64,_z,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_m'}} + SVE_ACLE_FUNC(svhsubr,_n_u64,_m,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhsubr_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsubr_x'}} + SVE_ACLE_FUNC(svhsubr,_n_u64,_x,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhistcnt_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhistcnt_z'}} + SVE_ACLE_FUNC(svhistcnt,_u64,_z,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'sveortb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'sveortb'}} + SVE_ACLE_FUNC(sveortb,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqxtnb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnb'}} + SVE_ACLE_FUNC(svqxtnb,_u64,,)(svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_u64,,)(svundef_u64(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmlalt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalt'}} + SVE_ACLE_FUNC(svmlalt,_n_u64,,)(svundef_u64(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_u64,,)(svundef_u32(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnt'}} + SVE_ACLE_FUNC(svaddhnt,_n_u64,,)(svundef_u32(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_u64'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _u64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, s64, offset_u64, )(pg, const_u16_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, u64, offset_u64, )(pg, const_u16_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _offset_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_s64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, s64, index_u64, )(pg, const_u16_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1uh_gather_, u64, index_u64, )(pg, const_u16_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uh_gather_u64base_index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uh_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1uh_gather, _u64base, _index_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svbcax_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svbcax_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbcax'}} + SVE_ACLE_FUNC(svbcax,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqxtnt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svqxtnt'}} + SVE_ACLE_FUNC(svqxtnt,_u64,,)(svundef_u32(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_u64,_z,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_u64,_m,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_u64,_x,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_z'}} + SVE_ACLE_FUNC(svqrshl,_n_u64,_z,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_m'}} + SVE_ACLE_FUNC(svqrshl,_n_u64,_m,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqrshl_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqrshl_x'}} + SVE_ACLE_FUNC(svqrshl,_n_u64,_x,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsublt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsublt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublt'}} + SVE_ACLE_FUNC(svsublt,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_z'}} + SVE_ACLE_FUNC(svadalp,_u64,_z,)(pg, svundef_u64(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_m'}} + SVE_ACLE_FUNC(svadalp,_u64,_m,)(pg, svundef_u64(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svadalp_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svadalp_x'}} + SVE_ACLE_FUNC(svadalp,_u64,_x,)(pg, svundef_u64(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b8_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b8'}} + SVE_ACLE_FUNC(svwhilege_b8,_u64,,)(u64, u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b16_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b16'}} + SVE_ACLE_FUNC(svwhilege_b16,_u64,,)(u64, u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b32_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b32'}} + SVE_ACLE_FUNC(svwhilege_b32,_u64,,)(u64, u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilege_b64_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilege_b64'}} + SVE_ACLE_FUNC(svwhilege_b64,_u64,,)(u64, u64); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullt'}} + SVE_ACLE_FUNC(svpmullt,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svpmullt'}} + SVE_ACLE_FUNC(svpmullt,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_u64,,)(svundef_u64(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsubwt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwt'}} + SVE_ACLE_FUNC(svsubwt,_n_u64,,)(svundef_u64(), u32); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_u64,_z,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_z'}} + SVE_ACLE_FUNC(svqsubr,_n_u64,_z,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_m'}} + SVE_ACLE_FUNC(svqsubr,_n_u64,_m,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqsubr_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsubr_x'}} + SVE_ACLE_FUNC(svqsubr,_n_u64,_x,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svadclt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svadclt'}} + SVE_ACLE_FUNC(svadclt,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svadclt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svadclt'}} + SVE_ACLE_FUNC(svadclt,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svaddp_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_m'}} + SVE_ACLE_FUNC(svqadd,_n_u64,_m,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_u64,_z,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_z'}} + SVE_ACLE_FUNC(svqadd,_n_u64,_z,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqadd_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqadd_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqadd_x'}} + SVE_ACLE_FUNC(svqadd,_n_u64,_x,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svabdlb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlb'}} + SVE_ACLE_FUNC(svabdlb,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svtbx_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svabdlt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svabdlt'}} + SVE_ACLE_FUNC(svabdlt,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svminp_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svminp_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_m'}} + SVE_ACLE_FUNC(svsqadd,_u64,_m,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_m'}} + SVE_ACLE_FUNC(svsqadd,_n_u64,_m,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_z'}} + SVE_ACLE_FUNC(svsqadd,_u64,_z,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_z'}} + SVE_ACLE_FUNC(svsqadd,_n_u64,_z,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_x'}} + SVE_ACLE_FUNC(svsqadd,_u64,_x,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svsqadd_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svsqadd_x'}} + SVE_ACLE_FUNC(svsqadd,_n_u64,_x,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_u64,_z,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_z'}} + SVE_ACLE_FUNC(svqsub,_n_u64,_z,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_m'}} + SVE_ACLE_FUNC(svqsub,_n_u64,_m,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svqsub_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqsub_x'}} + SVE_ACLE_FUNC(svqsub,_n_u64,_x,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svrsubhnb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svrsubhnb'}} + SVE_ACLE_FUNC(svrsubhnb,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svaddhnb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddhnb'}} + SVE_ACLE_FUNC(svaddhnb,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svabalt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_u64,,)(svundef_u64(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svabalt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svabalt'}} + SVE_ACLE_FUNC(svabalt,_n_u64,,)(svundef_u64(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'sveor3_u64'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'sveor3_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'sveor3'}} + SVE_ACLE_FUNC(sveor3,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_m'}} + SVE_ACLE_FUNC(svhadd,_n_u64,_m,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_u64,_z,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_z'}} + SVE_ACLE_FUNC(svhadd,_n_u64,_z,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhadd_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhadd_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhadd_x'}} + SVE_ACLE_FUNC(svhadd,_n_u64,_x,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svmovlb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlb'}} + SVE_ACLE_FUNC(svmovlb,_u64,,)(svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, , _u64)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, s64, offset, _u64)(pg, u64_ptr, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u64, offset, _u64)(pg, u64_ptr, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _offset, _u64)(pg, svundef_u64(), i64, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_s64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter_, s64, index, _u64)(pg, u64_ptr, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u64, index, _u64)(pg, u64_ptr, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _index, _u64)(pg, svundef_u64(), i64, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svsbclt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsbclt'}} + SVE_ACLE_FUNC(svsbclt,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svsbclt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsbclt'}} + SVE_ACLE_FUNC(svsbclt,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svmullt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmullt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmullt'}} + SVE_ACLE_FUNC(svmullt,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_u64'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _u64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, s64, offset_u64, )(pg, const_i16_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, u64, offset_u64, )(pg, const_i16_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _offset_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_s64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, s64, index_u64, )(pg, const_i16_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1sh_gather_, u64, index_u64, )(pg, const_i16_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sh_gather_u64base_index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sh_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1sh_gather, _u64base, _index_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_u64,,)(const_u64_ptr, const_u64_ptr); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_m'}} + SVE_ACLE_FUNC(svrhadd,_n_u64,_m,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_u64,_z,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_z'}} + SVE_ACLE_FUNC(svrhadd,_n_u64,_z,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svrhadd_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrhadd_x'}} + SVE_ACLE_FUNC(svrhadd,_n_u64,_x,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnb'}} + SVE_ACLE_FUNC(svraddhnb,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_u64,,)(const_u64_ptr, const_u64_ptr); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_u64,,)(svundef_u64(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmlalb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlalb'}} + SVE_ACLE_FUNC(svmlalb,_n_u64,,)(svundef_u64(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_u64'}} + SVE_ACLE_FUNC(svldnt1sb_gather, _u64base, _u64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sb_gather_, s64, offset_u64, )(pg, const_i8_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sb_gather_, u64, offset_u64, )(pg, const_i8_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sb_gather_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sb_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sb_gather, _u64base, _offset_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_u64,,)(svundef_u64(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsubwb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsubwb'}} + SVE_ACLE_FUNC(svsubwb,_n_u64,,)(svundef_u64(), u32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_u64'}} + SVE_ACLE_FUNC(svldnt1ub_gather, _u64base, _u64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1ub_gather_, s64, offset_u64, )(pg, const_u8_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1ub_gather_, u64, offset_u64, )(pg, const_u8_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1ub_gather_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1ub_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1ub_gather, _u64base, _offset_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaba_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svaba_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaba'}} + SVE_ACLE_FUNC(svaba,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_u64,,)(svundef_u32(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svraddhnt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svraddhnt'}} + SVE_ACLE_FUNC(svraddhnt,_n_u64,,)(svundef_u32(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'sveorbt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'sveorbt'}} + SVE_ACLE_FUNC(sveorbt,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_u64'}} + SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _u64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sw_gather_, s64, offset_u64, )(pg, const_i32_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sw_gather_, u64, offset_u64, )(pg, const_i32_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _offset_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_s64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1sw_gather_, s64, index_u64, )(pg, const_i32_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1sw_gather_, u64, index_u64, )(pg, const_i32_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1sw_gather_u64base_index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1sw_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1sw_gather, _u64base, _index_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svbsl_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svbsl_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl'}} + SVE_ACLE_FUNC(svbsl,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svadclb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svadclb'}} + SVE_ACLE_FUNC(svadclb,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svadclb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svadclb'}} + SVE_ACLE_FUNC(svadclb,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_u64,_z,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_u64,_m,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_u64,_x,)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_z'}} + SVE_ACLE_FUNC(svhsub,_n_u64,_z,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_m'}} + SVE_ACLE_FUNC(svhsub,_n_u64,_m,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svhsub_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svhsub_x'}} + SVE_ACLE_FUNC(svhsub,_n_u64,_x,)(pg, svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_u64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _u64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, s64, offset, _u64)(pg, const_u64_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, u64, offset, _u64)(pg, const_u64_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _offset_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_s64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index'}} + SVE_ACLE_FUNC(svldnt1_gather_, s64, index, _u64)(pg, const_u64_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index'}} + SVE_ACLE_FUNC(svldnt1_gather_, u64, index, _u64)(pg, const_u64_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _index_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddlb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlb'}} + SVE_ACLE_FUNC(svaddlb,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_u64'}} + SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _u64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1uw_gather_, s64, offset_u64, )(pg, const_u32_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1uw_gather_, u64, offset_u64, )(pg, const_u32_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_offset_u64'}} + SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _offset_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_s64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1uw_gather_, s64, index_u64, )(pg, const_u32_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1uw_gather_, u64, index_u64, )(pg, const_u32_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1uw_gather_u64base_index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1uw_gather_index_u64'}} + SVE_ACLE_FUNC(svldnt1uw_gather, _u64base, _index_u64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, , _u64)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, s64, offset, _u64)(pg, u16_ptr, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, u64, offset, _u64)(pg, u16_ptr, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, _offset, _u64)(pg, svundef_u64(), i64, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_s64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_index'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, s64, index, _u64)(pg, u16_ptr, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_index'}} + SVE_ACLE_FUNC(svstnt1h_scatter_, u64, index, _u64)(pg, u16_ptr, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1h_scatter_u64base_index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1h_scatter_index'}} + SVE_ACLE_FUNC(svstnt1h_scatter, _u64base, _index, _u64)(pg, svundef_u64(), i64, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter'}} + SVE_ACLE_FUNC(svstnt1b_scatter, _u64base, , _u64)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter_, s64, offset, _u64)(pg, u8_ptr, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter_, u64, offset, _u64)(pg, u8_ptr, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1b_scatter_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1b_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1b_scatter, _u64base, _offset, _u64)(pg, svundef_u64(), i64, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svbsl2n_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl2n'}} + SVE_ACLE_FUNC(svbsl2n,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddlt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddlt'}} + SVE_ACLE_FUNC(svaddlt,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64base_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter'}} + SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, , _u64)(pg, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_s64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1w_scatter_, s64, offset, _u64)(pg, u32_ptr, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1w_scatter_, u64, offset, _u64)(pg, u32_ptr, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64base_offset_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, _offset, _u64)(pg, svundef_u64(), i64, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_s64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_index'}} + SVE_ACLE_FUNC(svstnt1w_scatter_, s64, index, _u64)(pg, u32_ptr, svundef_s64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_index'}} + SVE_ACLE_FUNC(svstnt1w_scatter_, u64, index, _u64)(pg, u32_ptr, svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1w_scatter_u64base_index_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1w_scatter_index'}} + SVE_ACLE_FUNC(svstnt1w_scatter, _u64base, _index, _u64)(pg, svundef_u64(), i64, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_u64,,)(svundef_u64(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svabalb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svabalb'}} + SVE_ACLE_FUNC(svabalb,_n_u64,,)(svundef_u64(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svsublb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_u64,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsublb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsublb'}} + SVE_ACLE_FUNC(svsublb,_n_u64,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svsbclb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsbclb'}} + SVE_ACLE_FUNC(svsbclb,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svsbclb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svsbclb'}} + SVE_ACLE_FUNC(svsbclb,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_u64,,)(svundef_u64(), svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svbsl1n_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbsl1n'}} + SVE_ACLE_FUNC(svbsl1n,_n_u64,,)(svundef_u64(), svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_u64,_z,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_u64,_m,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_u64,_x,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_z'}} + SVE_ACLE_FUNC(svrshl,_n_u64,_z,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_m'}} + SVE_ACLE_FUNC(svrshl,_n_u64,_m,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svrshl_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svrshl_x'}} + SVE_ACLE_FUNC(svrshl,_n_u64,_x,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_u64,,)(svundef_u64(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddwt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svaddwt'}} + SVE_ACLE_FUNC(svaddwt,_n_u64,,)(svundef_u64(), u32); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_u64,,)(svundef_u64(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmlslb_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslb'}} + SVE_ACLE_FUNC(svmlslb,_n_u64,,)(svundef_u64(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_u64,,)(svundef_u64(), svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svmlslt_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmlslt'}} + SVE_ACLE_FUNC(svmlslt,_n_u64,,)(svundef_u64(), svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svmovlt_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svmovlt'}} + SVE_ACLE_FUNC(svmovlt,_u64,,)(svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_u64,_z,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_u64,_m,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_u64,_x,)(pg, svundef_u64(), svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_z'}} + SVE_ACLE_FUNC(svqshl,_n_u64,_z,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_m'}} + SVE_ACLE_FUNC(svqshl,_n_u64,_m,)(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svqshl_n_u64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svqshl_x'}} + SVE_ACLE_FUNC(svqshl,_n_u64,_x,)(pg, svundef_u64(), i64); +} + +void test_f16(svbool_t pg, const float16_t *const_f16_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svlogb_f16_z'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_z'}} + SVE_ACLE_FUNC(svlogb,_f16,_z,)(pg, svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svlogb_f16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_m'}} + SVE_ACLE_FUNC(svlogb,_f16,_m,)(svundef_s16(), pg, svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svlogb_f16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_x'}} + SVE_ACLE_FUNC(svlogb,_f16,_x,)(pg, svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svminnmp_f16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminnmp_m'}} + SVE_ACLE_FUNC(svminnmp,_f16,_m,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svminnmp_f16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminnmp_x'}} + SVE_ACLE_FUNC(svminnmp,_f16,_x,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_f16'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_f16,,)(svundef2_f16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_f16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_f16,_m,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_f16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_f16,_x,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svtbx_f16'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_f16,,)(svundef_f16(), svundef_f16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svminp_f16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_f16,_m,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svminp_f16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_f16,_x,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_f16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_f16,_m,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_f16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_f16,_x,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svmaxnmp_f16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxnmp_m'}} + SVE_ACLE_FUNC(svmaxnmp,_f16,_m,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svmaxnmp_f16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxnmp_x'}} + SVE_ACLE_FUNC(svmaxnmp,_f16,_x,)(pg, svundef_f16(), svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_f16'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_f16,,)(const_f16_ptr, const_f16_ptr); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_f16'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_f16,,)(const_f16_ptr, const_f16_ptr); + // expected-error@+2 {{use of undeclared identifier 'svcvtlt_f32_f16_m'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtlt_f32_m'}} + SVE_ACLE_FUNC(svcvtlt_f32,_f16,_m,)(svundef_f32(), pg, svundef_f16()); + // expected-error@+2 {{use of undeclared identifier 'svcvtlt_f32_f16_x'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtlt_f32_x'}} + SVE_ACLE_FUNC(svcvtlt_f32,_f16,_x,)(pg, svundef_f16()); +} + +void test_f32(svbool_t pg, const float32_t *const_f32_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svlogb_f32_z'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_z'}} + SVE_ACLE_FUNC(svlogb,_f32,_z,)(pg, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svlogb_f32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_m'}} + SVE_ACLE_FUNC(svlogb,_f32,_m,)(svundef_s32(), pg, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svlogb_f32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_x'}} + SVE_ACLE_FUNC(svlogb,_f32,_x,)(pg, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svminnmp_f32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminnmp_m'}} + SVE_ACLE_FUNC(svminnmp,_f32,_m,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svminnmp_f32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminnmp_x'}} + SVE_ACLE_FUNC(svminnmp,_f32,_x,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_f32,,)(svundef2_f32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_f32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_f32,_m,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_f32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_f32,_x,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svtbx_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_f32,,)(svundef_f32(), svundef_f32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svminp_f32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_f32,_m,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svminp_f32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_f32,_x,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, , _f32)(pg, svundef_u32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32offset_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u32, offset, _f32)(pg, f32_ptr, svundef_u32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_offset_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _offset, _f32)(pg, svundef_u32(), i64, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u32base_index_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u32base, _index, _f32)(pg, svundef_u32(), i64, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_f32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_f32,_m,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_f32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_f32,_x,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svmaxnmp_f32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxnmp_m'}} + SVE_ACLE_FUNC(svmaxnmp,_f32,_m,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svmaxnmp_f32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxnmp_x'}} + SVE_ACLE_FUNC(svmaxnmp,_f32,_x,)(pg, svundef_f32(), svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_f32,,)(const_f32_ptr, const_f32_ptr); + // expected-error@+2 {{use of undeclared identifier 'svcvtnt_f16_f32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtnt_f16_m'}} + SVE_ACLE_FUNC(svcvtnt_f16,_f32,_m,)(svundef_f16(), pg, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svcvtnt_f16_f32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtnt_f16_x'}} + SVE_ACLE_FUNC(svcvtnt_f16,_f32,_x,)(svundef_f16(), pg, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_f32,,)(const_f32_ptr, const_f32_ptr); + // expected-error@+2 {{use of undeclared identifier 'svcvtlt_f64_f32_m'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtlt_f64_m'}} + SVE_ACLE_FUNC(svcvtlt_f64,_f32,_m,)(svundef_f64(), pg, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svcvtlt_f64_f32_x'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtlt_f64_x'}} + SVE_ACLE_FUNC(svcvtlt_f64,_f32,_x,)(pg, svundef_f32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_f32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _f32, )(pg, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32offset_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, u32, offset, _f32)(pg, const_f32_ptr, svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_offset_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset_f32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _offset_f32, )(pg, svundef_u32(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u32base_index_f32'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index_f32'}} + SVE_ACLE_FUNC(svldnt1_gather, _u32base, _index_f32, )(pg, svundef_u32(), i64); +} + +void test_f64(svbool_t pg, const float64_t *const_f64_ptr) +{ + // expected-error@+2 {{use of undeclared identifier 'svlogb_f64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_z'}} + SVE_ACLE_FUNC(svlogb,_f64,_z,)(pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svlogb_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_m'}} + SVE_ACLE_FUNC(svlogb,_f64,_m,)(svundef_s64(), pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svlogb_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svlogb_x'}} + SVE_ACLE_FUNC(svlogb,_f64,_x,)(pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svminnmp_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminnmp_m'}} + SVE_ACLE_FUNC(svminnmp,_f64,_m,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svminnmp_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminnmp_x'}} + SVE_ACLE_FUNC(svminnmp,_f64,_x,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_f64,,)(svundef2_f64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_m'}} + SVE_ACLE_FUNC(svaddp,_f64,_m,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svaddp_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svaddp_x'}} + SVE_ACLE_FUNC(svaddp,_f64,_x,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svtbx_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_f64,,)(svundef_f64(), svundef_f64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svminp_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_m'}} + SVE_ACLE_FUNC(svminp,_f64,_m,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svminp_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svminp_x'}} + SVE_ACLE_FUNC(svminp,_f64,_x,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, , _f64)(pg, svundef_u64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_s64offset_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, s64, offset, _f64)(pg, f64_ptr, svundef_s64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64offset_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u64, offset, _f64)(pg, f64_ptr, svundef_u64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_offset_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_offset'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _offset, _f64)(pg, svundef_u64(), i64, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_s64index_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter_, s64, index, _f64)(pg, f64_ptr, svundef_s64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64index_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter_, u64, index, _f64)(pg, f64_ptr, svundef_u64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svstnt1_scatter_u64base_index_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svstnt1_scatter_index'}} + SVE_ACLE_FUNC(svstnt1_scatter, _u64base, _index, _f64)(pg, svundef_u64(), i64, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_m'}} + SVE_ACLE_FUNC(svmaxp,_f64,_m,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svmaxp_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxp_x'}} + SVE_ACLE_FUNC(svmaxp,_f64,_x,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svmaxnmp_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxnmp_m'}} + SVE_ACLE_FUNC(svmaxnmp,_f64,_m,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svmaxnmp_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svmaxnmp_x'}} + SVE_ACLE_FUNC(svmaxnmp,_f64,_x,)(pg, svundef_f64(), svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_f64,,)(const_f64_ptr, const_f64_ptr); + // expected-error@+2 {{use of undeclared identifier 'svcvtnt_f32_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtnt_f32_m'}} + SVE_ACLE_FUNC(svcvtnt_f32,_f64,_m,)(svundef_f32(), pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svcvtnt_f32_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtnt_f32_x'}} + SVE_ACLE_FUNC(svcvtnt_f32,_f64,_x,)(svundef_f32(), pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_f64,,)(const_f64_ptr, const_f64_ptr); + // expected-error@+2 {{use of undeclared identifier 'svcvtx_f32_f64_z'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtx_f32_z'}} + SVE_ACLE_FUNC(svcvtx_f32,_f64,_z,)(pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svcvtx_f32_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtx_f32_m'}} + SVE_ACLE_FUNC(svcvtx_f32,_f64,_m,)(svundef_f32(), pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svcvtx_f32_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtx_f32_x'}} + SVE_ACLE_FUNC(svcvtx_f32,_f64,_x,)(pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_f64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _f64, )(pg, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_s64offset_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, s64, offset, _f64)(pg, const_f64_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64offset_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset'}} + SVE_ACLE_FUNC(svldnt1_gather_, u64, offset, _f64)(pg, const_f64_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_offset_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_offset_f64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _offset_f64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_s64index_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index'}} + SVE_ACLE_FUNC(svldnt1_gather_, s64, index, _f64)(pg, const_f64_ptr, svundef_s64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64index_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index'}} + SVE_ACLE_FUNC(svldnt1_gather_, u64, index, _f64)(pg, const_f64_ptr, svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svldnt1_gather_u64base_index_f64'}} + // overload-error@+1 {{use of undeclared identifier 'svldnt1_gather_index_f64'}} + SVE_ACLE_FUNC(svldnt1_gather, _u64base, _index_f64, )(pg, svundef_u64(), i64); + // expected-error@+2 {{use of undeclared identifier 'svcvtxnt_f32_f64_m'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtxnt_f32_m'}} + SVE_ACLE_FUNC(svcvtxnt_f32,_f64,_m,)(svundef_f32(), pg, svundef_f64()); + // expected-error@+2 {{use of undeclared identifier 'svcvtxnt_f32_f64_x'}} + // overload-error@+1 {{use of undeclared identifier 'svcvtxnt_f32_x'}} + SVE_ACLE_FUNC(svcvtxnt_f32,_f64,_x,)(svundef_f32(), pg, svundef_f64()); +} diff --git a/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_aes_bitperm_sha3_sm4.cpp b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_aes_bitperm_sha3_sm4.cpp new file mode 100644 --- /dev/null +++ b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_aes_bitperm_sha3_sm4.cpp @@ -0,0 +1,141 @@ +// REQUIRES: aarch64-registered-target + +// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -fsyntax-only -verify -verify-ignore-unexpected=error,note %s +// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -fsyntax-only -verify=overload -verify-ignore-unexpected=error,note %s + +#ifdef SVE_OVERLOADED_FORMS +// A simple used,unused... macro, long enough to represent any SVE builtin. +#define SVE_ACLE_FUNC(A1,A2_UNUSED,A3,A4_UNUSED) A1##A3 +#else +#define SVE_ACLE_FUNC(A1,A2,A3,A4) A1##A2##A3##A4 +#endif + +#include + +void test_u8(uint8_t u8) +{ + // expected-error@+2 {{use of undeclared identifier 'svaesd_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svaesd'}} + SVE_ACLE_FUNC(svaesd,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaese_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svaese'}} + SVE_ACLE_FUNC(svaese,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaesimc_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svaesimc'}} + SVE_ACLE_FUNC(svaesimc,_u8,,)(svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svaesmc_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svaesmc'}} + SVE_ACLE_FUNC(svaesmc,_u8,,)(svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbdep_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbdep'}} + SVE_ACLE_FUNC(svbdep,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbdep_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbdep'}} + SVE_ACLE_FUNC(svbdep,_n_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbext_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbext'}} + SVE_ACLE_FUNC(svbext,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbext_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbext'}} + SVE_ACLE_FUNC(svbext,_n_u8,,)(svundef_u8(), u8); + // expected-error@+2 {{use of undeclared identifier 'svbgrp_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbgrp'}} + SVE_ACLE_FUNC(svbgrp,_u8,,)(svundef_u8(), svundef_u8()); + // expected-error@+2 {{use of undeclared identifier 'svbgrp_n_u8'}} + // overload-error@+1 {{use of undeclared identifier 'svbgrp'}} + SVE_ACLE_FUNC(svbgrp,_n_u8,,)(svundef_u8(), u8); +} + +void test_u16(uint16_t u16) +{ + // expected-error@+2 {{use of undeclared identifier 'svbdep_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbdep'}} + SVE_ACLE_FUNC(svbdep,_u16,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svbdep_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbdep'}} + SVE_ACLE_FUNC(svbdep,_n_u16,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svbext_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbext'}} + SVE_ACLE_FUNC(svbext,_u16,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svbext_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbext'}} + SVE_ACLE_FUNC(svbext,_n_u16,,)(svundef_u16(), u16); + // expected-error@+2 {{use of undeclared identifier 'svbgrp_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbgrp'}} + SVE_ACLE_FUNC(svbgrp,_u16,,)(svundef_u16(), svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svbgrp_n_u16'}} + // overload-error@+1 {{use of undeclared identifier 'svbgrp'}} + SVE_ACLE_FUNC(svbgrp,_n_u16,,)(svundef_u16(), u16); +} + +void test_u32(uint32_t u32) +{ + // expected-error@+2 {{use of undeclared identifier 'svbdep_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbdep'}} + SVE_ACLE_FUNC(svbdep,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svbdep_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbdep'}} + SVE_ACLE_FUNC(svbdep,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svbext_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbext'}} + SVE_ACLE_FUNC(svbext,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svbext_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbext'}} + SVE_ACLE_FUNC(svbext,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svbgrp_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbgrp'}} + SVE_ACLE_FUNC(svbgrp,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svbgrp_n_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svbgrp'}} + SVE_ACLE_FUNC(svbgrp,_n_u32,,)(svundef_u32(), u32); + // expected-error@+2 {{use of undeclared identifier 'svsm4e_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsm4e'}} + SVE_ACLE_FUNC(svsm4e,_u32,,)(svundef_u32(), svundef_u32()); + // expected-error@+2 {{use of undeclared identifier 'svsm4ekey_u32'}} + // overload-error@+1 {{use of undeclared identifier 'svsm4ekey'}} + SVE_ACLE_FUNC(svsm4ekey,_u32,,)(svundef_u32(), svundef_u32()); +} + +void test_u64(uint64_t u64) +{ + // expected-error@+2 {{use of undeclared identifier 'svbdep_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbdep'}} + SVE_ACLE_FUNC(svbdep,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svbdep_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbdep'}} + SVE_ACLE_FUNC(svbdep,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svbext_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbext'}} + SVE_ACLE_FUNC(svbext,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svbext_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbext'}} + SVE_ACLE_FUNC(svbext,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svbgrp_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbgrp'}} + SVE_ACLE_FUNC(svbgrp,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svbgrp_n_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svbgrp'}} + SVE_ACLE_FUNC(svbgrp,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_pair_u64'}} + // overload-error@+1 {{no matching function for call to 'svpmullb_pair'}} + SVE_ACLE_FUNC(svpmullb_pair,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svpmullb_pair_n_u64'}} + // overload-error@+1 {{no matching function for call to 'svpmullb_pair'}} + SVE_ACLE_FUNC(svpmullb_pair,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_pair_u64'}} + // overload-error@+1 {{no matching function for call to 'svpmullt_pair'}} + SVE_ACLE_FUNC(svpmullt_pair,_u64,,)(svundef_u64(), svundef_u64()); + // expected-error@+2 {{use of undeclared identifier 'svpmullt_pair_n_u64'}} + // overload-error@+1 {{no matching function for call to 'svpmullt_pair'}} + SVE_ACLE_FUNC(svpmullt_pair,_n_u64,,)(svundef_u64(), u64); + // expected-error@+2 {{use of undeclared identifier 'svrax1_u64'}} + // overload-error@+1 {{use of undeclared identifier 'svrax1'}} + SVE_ACLE_FUNC(svrax1,_u64,,)(svundef_u64(), svundef_u64()); +} + +void test_s64() +{ + // expected-error@+2 {{use of undeclared identifier 'svrax1_s64'}} + // overload-error@+1 {{use of undeclared identifier 'svrax1'}} + SVE_ACLE_FUNC(svrax1,_s64,,)(svundef_s64(), svundef_s64()); +} diff --git a/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp new file mode 100644 --- /dev/null +++ b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp @@ -0,0 +1,29 @@ +// REQUIRES: aarch64-registered-target + +// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2 -fallow-half-arguments-and-returns -fsyntax-only -verify -verify-ignore-unexpected=error,note %s +// RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -fallow-half-arguments-and-returns -fsyntax-only -verify=overload -verify-ignore-unexpected=error,note %s + +#ifdef SVE_OVERLOADED_FORMS +// A simple used,unused... macro, long enough to represent any SVE builtin. +#define SVE_ACLE_FUNC(A1,A2_UNUSED,A3,A4_UNUSED) A1##A3 +#else +#define SVE_ACLE_FUNC(A1,A2,A3,A4) A1##A2##A3##A4 +#endif + +#include + +void test_bfloat(const bfloat16_t *const_bf16_ptr, svbfloat16_t bf16, svbfloat16x2_t bf16x2) +{ + // expected-error@+2 {{use of undeclared identifier 'svwhilerw_bf16'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilerw'}} + SVE_ACLE_FUNC(svwhilerw,_bf16,,)(const_bf16_ptr, const_bf16_ptr); + // expected-error@+2 {{use of undeclared identifier 'svtbx_bf16'}} + // overload-error@+1 {{use of undeclared identifier 'svtbx'}} + SVE_ACLE_FUNC(svtbx,_bf16,,)(bf16, bf16, svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svtbl2_bf16'}} + // overload-error@+1 {{use of undeclared identifier 'svtbl2'}} + SVE_ACLE_FUNC(svtbl2,_bf16,,)(bf16x2, svundef_u16()); + // expected-error@+2 {{use of undeclared identifier 'svwhilewr_bf16'}} + // overload-error@+1 {{use of undeclared identifier 'svwhilewr'}} + SVE_ACLE_FUNC(svwhilewr,_bf16,,)(const_bf16_ptr, const_bf16_ptr); +}