Skip to content

Commit 55e4d44

Browse files
committed
[clang]: fix __neon_vector__type support when using OpenMP offloading
1 parent c50c5a9 commit 55e4d44

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clang/test/Sema/bug113094.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// RUN: %clang -fopenmp --offload-arch=sm_90 -nocudalib -target aarch64-unknown-linux-gnu -c -Xclang -verify %s
2+
// REQUIRES: aarch64-registered-target
3+
4+
// expected-no-diagnostics
5+
6+
typedef __attribute__ ((__neon_vector_type__ (4))) float __f32x4_t;

0 commit comments

Comments
 (0)