[SystemZ] Add test case to verify default use of integrated assembler

llvm-svn: 219679
This commit is contained in:
Ulrich Weigand 2014-10-14 11:45:53 +00:00
parent 4eebdf22ef
commit b454930cda
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// Make sure SystemZ defaults to using the integrated assembler
// RUN: %clang -target s390x-ibm-linux -### -c %s 2>&1 \
// RUN: | FileCheck -check-prefix=DEFAULT %s
// DEFAULT: "-cc1as"{{.*}} "-target-cpu" "z10"
// 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
// NO-IAS: "-march=z10"