| 1 |
// XFAIL: target={{.*}}-aix{{.*}} |
| 2 |
|
| 3 |
// RUN: %clang -### -c -save-temps -integrated-as --target=x86_64 %s 2>&1 | FileCheck %s |
| 4 |
|
| 5 |
// CHECK: cc1as |
| 6 |
// CHECK-NOT: -mrelax-all |
| 7 |
|
| 8 |
// RISC-V does not enable -mrelax-all |
| 9 |
// RUN: %clang -### -c -save-temps -integrated-as --target=riscv64 %s 2>&1 | FileCheck %s -check-prefix=RISCV-RELAX |
| 10 |
|
| 11 |
// RISCV-RELAX: cc1as |
| 12 |
// RISCV-RELAX-NOT: -mrelax-all |
| 13 |
|
| 14 |
// RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS |
| 15 |
|
| 16 |
// FIAS: cc1as |
| 17 |
|
| 18 |
// RUN: %clang -target none -### -fno-integrated-as -S %s 2>&1 \ |
| 19 |
// RUN: | FileCheck %s -check-prefix NOFIAS |
| 20 |
|
| 21 |
// NOFIAS-NOT: cc1as |
| 22 |
// NOFIAS: -cc1 |
| 23 |
// NOFIAS: -no-integrated-as |