// 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"


// Make sure SystemZ defaults to using the integrated assembler

// RUN: %clang -target s390x-ibm-linux -### -c %s 2>&1 \
// RUN: | FileCheck -check-prefix=IAS %s

// 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-NOT: -cc1as
// NO-IAS: "-march=z10"


Address review comments for r219679
[SystemZ] Address review comments for r219679


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@219691 91177308-0d34-0410-b5e6-96231b3b80d8
