[SystemZ] Add test case to verify default use of integrated assembler
llvm-svn: 219679
This commit is contained in:
parent
4eebdf22ef
commit
b454930cda
|
|
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue