]> granicus.if.org Git - llvm/commitdiff
Change -march=systemz to triple and fix test
authorKai Nacke <kai.nacke@redstar.de>
Fri, 27 Sep 2019 16:19:15 +0000 (16:19 +0000)
committerKai Nacke <kai.nacke@redstar.de>
Fri, 27 Sep 2019 16:19:15 +0000 (16:19 +0000)
These two test cases use -march=systemz instead of a triple. In
particular, the used file format is then based on the default host
triple. This leads to different behaviour on different platforms.

The SystemZ implementation uses the integrated assembler for a
long time now. The mature-mc-support test can be fully enabled.

Differential Revision: https://reviews.llvm.org/D68129

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373098 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/SystemZ/mature-mc-support.ll
test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll

index a01716c27670149dcff89a594ea2c49f7d3f95b5..bf82c363f43a7c3e74741c74251761af09cb05e9 100644 (file)
@@ -1,12 +1,10 @@
 ; Test that inline assembly is parsed by the MC layer when MC support is mature
 ; (even when the output is assembly).
-; FIXME: SystemZ doesn't use the integrated assembler by default so we only test
-; that -filetype=obj tries to parse the assembly.
 
-; SKIP: not llc -march=systemz < %s > /dev/null 2> %t1
-; SKIP: FileCheck %s < %t1
+; RUN: not llc -mtriple=s390x-linux-gnu < %s > /dev/null 2> %t1
+; RUN: FileCheck %s < %t1
 
-; RUN: not llc -march=systemz -filetype=obj < %s > /dev/null 2> %t2
+; RUN: not llc -mtriple=s390x-linux-gnu -filetype=obj < %s > /dev/null 2> %t2
 ; RUN: FileCheck %s < %t2
 
 
index 0290d425e5706391d74e198861d173caacafd47b..4633175830a40de06ea8d13ba898a3fe85b78661 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=systemz < %s | FileCheck %s
+; RUN: llc -mtriple=s390x-linux-gnu < %s | FileCheck %s
 
 ; CHECK-LABEL: tail_memcpy:
 ; CHECK: jg memcpy