Skip to content

Commit d8e38b9

Browse files
committed
Change -march=systemz to triple and fix test
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 llvm-svn: 373098
1 parent f71f23d commit d8e38b9

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

llvm/test/CodeGen/SystemZ/mature-mc-support.ll

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
; Test that inline assembly is parsed by the MC layer when MC support is mature
22
; (even when the output is assembly).
3-
; FIXME: SystemZ doesn't use the integrated assembler by default so we only test
4-
; that -filetype=obj tries to parse the assembly.
53

6-
; SKIP: not llc -march=systemz < %s > /dev/null 2> %t1
7-
; SKIP: FileCheck %s < %t1
4+
; RUN: not llc -mtriple=s390x-linux-gnu < %s > /dev/null 2> %t1
5+
; RUN: FileCheck %s < %t1
86

9-
; RUN: not llc -march=systemz -filetype=obj < %s > /dev/null 2> %t2
7+
; RUN: not llc -mtriple=s390x-linux-gnu -filetype=obj < %s > /dev/null 2> %t2
108
; RUN: FileCheck %s < %t2
119

1210

llvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -march=systemz < %s | FileCheck %s
1+
; RUN: llc -mtriple=s390x-linux-gnu < %s | FileCheck %s
22

33
; CHECK-LABEL: tail_memcpy:
44
; CHECK: jg memcpy

0 commit comments

Comments
 (0)