1 // REQUIRES: aarch64-registered-target
2 // RUN: %clang -target aarch64-none-linux -march=armv9.3-a -o %t -c %s 2>&1 | FileCheck --allow-empty %s
4 // Successor targets should be ableto call predecessor target functions.
5 __attribute__((__always_inline__
,target("v8a")))
10 __attribute__((__always_inline__
,target("v8.1a")))
15 __attribute__((__always_inline__
,target("v8.2a")))
20 __attribute__((__always_inline__
,target("v8.3a")))
25 __attribute__((__always_inline__
,target("v8.4a")))
30 __attribute__((__always_inline__
,target("v8.5a")))
35 __attribute__((__always_inline__
,target("v8.6a")))
40 __attribute__((__always_inline__
,target("v8.7a")))
45 __attribute__((__always_inline__
,target("v8.8a")))
50 __attribute__((__always_inline__
,target("v9a")))
55 __attribute__((__always_inline__
,target("v9.1a")))
60 __attribute__((__always_inline__
,target("v9.2a")))
65 __attribute__((__always_inline__
,target("v9.3a")))
70 // CHECK-NOT: always_inline function {{.*}} requires target feature {{.*}}, but would be inlined into function {{.*}} that is compiled without support for {{.*}}
71 // CHECK-NOT: {{.*}} is not a recognized feature for this target