|
1 |
| -// RUN: %clang -target powerpc64-unknown-aix -S -emit-llvm %s -o - | FileCheck %s |
2 |
| -// RUN: %clang -target powerpc-unknown-aix -S -emit-llvm %s -o - | FileCheck %s |
3 |
| -// RUN: %clang -target powerpc64le-unknown-linux-gnu -S -emit-llvm %s -o - | FileCheck %s |
4 |
| -// RUN: %clang -target powerpc64-unknown-linux-gnu -S -emit-llvm %s -o - | FileCheck %s |
| 1 | +// RUN: %clang -target powerpc64-unknown-aix -S -emit-llvm %s -o - | FileCheck --check-prefix=CHECK-AIX-DEFAULT %s |
| 2 | +// RUN: %clang -target powerpc-unknown-aix -S -emit-llvm %s -o - | FileCheck --check-prefix=CHECK-AIX-DEFAULT %s |
| 3 | +// RUN: %clang -target powerpc64le-unknown-linux-gnu -S -emit-llvm %s -o - | FileCheck --check-prefix=CHECK-LINUX %s |
| 4 | +// RUN: %clang -target powerpc64-unknown-linux-gnu -S -emit-llvm %s -o - | FileCheck --check-prefix=CHECK-LINUX %s |
5 | 5 |
|
6 | 6 | // RUN: %clang -target powerpc64-unknown-aix -maix-small-local-exec-tls -S -emit-llvm \
|
7 | 7 | // RUN: %s -o - | FileCheck %s --check-prefix=CHECK-AIX_SMALL_LOCALEXEC_TLS
|
@@ -39,9 +39,10 @@ int test(void) {
|
39 | 39 | return 0;
|
40 | 40 | }
|
41 | 41 |
|
42 |
| -// CHECK: test() #0 { |
43 |
| -// CHECK: attributes #0 = { |
44 |
| -// CHECK-SAME: {{-aix-small-local-exec-tls,.*-aix-small-local-dynamic-tls|-aix-small-local-dynamic-tls,.*-aix-small-local-exec-tls}} |
| 42 | +// CHECK-AIX-DEFAULT: test() #0 { |
| 43 | +// CHECK-AIX-DEFAULT: attributes #0 = { |
| 44 | +// CHECK-AIX-DEFAULT-SAME: {{-aix-small-local-exec-tls,.*-aix-small-local-dynamic-tls|-aix-small-local-dynamic-tls,.*-aix-small-local-exec-tls}} |
| 45 | +// CHECK-LINUX-NOT: {{[-+]aix-small-local-exec-tls,.*[-+]aix-small-local-dynamic-tls|[-+]aix-small-local-dynamic-tls,.*[-+]aix-small-local-exec-tls}} |
45 | 46 |
|
46 | 47 | // CHECK-UNSUPPORTED-AIX32: option '-maix-small-local-[exec|dynamic]-tls' cannot be specified on this target
|
47 | 48 | // CHECK-UNSUPPORTED-LINUX: option '-maix-small-local-[exec|dynamic]-tls' cannot be specified on this target
|
|
0 commit comments