xref: /aosp_15_r20/external/clang/test/Driver/systemz-as.s (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// Make sure SystemZ defaults to using the integrated assembler
2*67e74705SXin Li
3*67e74705SXin Li// RUN: %clang -target s390x-ibm-linux -### -c %s 2>&1 \
4*67e74705SXin Li// RUN: | FileCheck -check-prefix=IAS %s
5*67e74705SXin Li
6*67e74705SXin Li// RUN: %clang -target s390x-ibm-linux -integrated-as -### -c %s 2>&1 \
7*67e74705SXin Li// RUN: | FileCheck -check-prefix=IAS %s
8*67e74705SXin Li// IAS: "-cc1as"{{.*}} "-target-cpu" "z10"
9*67e74705SXin Li
10*67e74705SXin Li// RUN: %clang -target s390x-ibm-linux -no-integrated-as -### -c %s 2>&1 \
11*67e74705SXin Li// RUN: | FileCheck -check-prefix=NO-IAS %s
12*67e74705SXin Li// NO-IAS-NOT: -cc1as
13*67e74705SXin Li// NO-IAS: "-march=z10"
14*67e74705SXin Li
15