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

Ulrich Weigand ulrich.weigand at de.ibm.com
Tue Oct 14 04:45:54 PDT 2014


Author: uweigand
Date: Tue Oct 14 06:45:53 2014
New Revision: 219679

URL: http://llvm.org/viewvc/llvm-project?rev=219679&view=rev
Log:
[SystemZ] Add test case to verify default use of integrated assembler


Added:
    cfe/trunk/test/Driver/systemz-as.s

Added: cfe/trunk/test/Driver/systemz-as.s
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/systemz-as.s?rev=219679&view=auto
==============================================================================
--- cfe/trunk/test/Driver/systemz-as.s (added)
+++ cfe/trunk/test/Driver/systemz-as.s Tue Oct 14 06:45:53 2014
@@ -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"
+





More information about the cfe-commits mailing list