24 lines · c
1// XFAIL: target={{.*}}-aix{{.*}}2 3// RUN: %clang -### -c -save-temps -integrated-as --target=x86_64 %s 2>&1 | FileCheck %s4 5// CHECK: cc1as6// CHECK-NOT: -mrelax-all7 8// RISC-V does not enable -mrelax-all9// RUN: %clang -### -c -save-temps -integrated-as --target=riscv64 %s 2>&1 | FileCheck %s -check-prefix=RISCV-RELAX10 11// RISCV-RELAX: cc1as12// RISCV-RELAX-NOT: -mrelax-all13 14// RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS15 16// FIAS: cc1as17 18// RUN: %clang -target none -### -fno-integrated-as -S %s 2>&1 \19// RUN: | FileCheck %s -check-prefix NOFIAS20 21// NOFIAS-NOT: cc1as22// NOFIAS: -cc123// NOFIAS: -no-integrated-as24