Skip to content

Commit

Permalink
[SystemZ] Add test case to verify default use of integrated assembler
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219679 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
uweigand committed Oct 14, 2014
1 parent a905ad1 commit 1315fc9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/Driver/systemz-as.s
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 1315fc9

Please sign in to comment.