2014-10-14 19:45:53 +08:00
|
|
|
// Make sure SystemZ defaults to using the integrated assembler
|
|
|
|
|
|
|
|
// RUN: %clang -target s390x-ibm-linux -### -c %s 2>&1 \
|
2014-10-15 00:46:45 +08:00
|
|
|
// RUN: | FileCheck -check-prefix=IAS %s
|
2014-10-14 19:45:53 +08:00
|
|
|
|
|
|
|
// RUN: %clang -target s390x-ibm-linux -integrated-as -### -c %s 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=IAS %s
|
|
|
|
// IAS: "-cc1as"{{.*}} "-target-cpu" "z10"
|
|
|
|
|
|
|
|
// RUN: %clang -target s390x-ibm-linux -no-integrated-as -### -c %s 2>&1 \
|
|
|
|
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
2014-10-15 00:46:45 +08:00
|
|
|
// NO-IAS-NOT: -cc1as
|
2014-10-14 19:45:53 +08:00
|
|
|
// NO-IAS: "-march=z10"
|
|
|
|
|