From: Ulrich Weigand Date: Tue, 14 Oct 2014 11:45:53 +0000 (+0000) Subject: [SystemZ] Add test case to verify default use of integrated assembler X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1315fc9138ff8af3bbcdd4ec96d4f61e340f1f4a;p=clang [SystemZ] Add test case to verify default use of integrated assembler git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219679 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/systemz-as.s b/test/Driver/systemz-as.s new file mode 100644 index 0000000000..154d0710ed --- /dev/null +++ b/test/Driver/systemz-as.s @@ -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" +