From: Kai Nacke Date: Fri, 27 Sep 2019 16:19:15 +0000 (+0000) Subject: Change -march=systemz to triple and fix test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12e921eb1b4105d6eaae920576bc213f7dfdb646;p=llvm 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373098 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/SystemZ/mature-mc-support.ll b/test/CodeGen/SystemZ/mature-mc-support.ll index a01716c2767..bf82c363f43 100644 --- a/test/CodeGen/SystemZ/mature-mc-support.ll +++ b/test/CodeGen/SystemZ/mature-mc-support.ll @@ -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 diff --git a/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll b/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll index 0290d425e57..4633175830a 100644 --- a/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll +++ b/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll @@ -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