[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / builtins-hexagon-v65.c
blobbb8a1ce5e167c68a68678ee3dd3827caf36671fe
1 // REQUIRES: hexagon-registered-target
2 // RUN: %clang_cc1 %s -triple hexagon -fsyntax-only -verify -target-cpu hexagonv65
4 // expected-no-diagnostics
5 unsigned builtin_needs_v60(unsigned Rs) {
6 return __builtin_HEXAGON_S6_rol_i_r(Rs, 3);
9 unsigned long long builtin_needs_v62(unsigned Rs) {
10 return __builtin_HEXAGON_S6_vsplatrbp(Rs);
13 unsigned builtin_needs_v65(unsigned long long Rss, unsigned long long Rtt) {
14 return __builtin_HEXAGON_A6_vcmpbeq_notany(Rss, Rtt);