diff options
author | Kai Nacke <kai.nacke@redstar.de> | 2019-09-27 16:19:15 +0000 |
---|---|---|
committer | Kai Nacke <kai.nacke@redstar.de> | 2019-09-27 16:19:15 +0000 |
commit | d8e38b9b888b6c18edb41a77e59cbbf86c25bdea (patch) | |
tree | 8dee33d94dcee2125a2ef6758887da6b782fecb2 | |
parent | f71f23d14d4353f823ddf93680ddac86e95819d7 (diff) | |
download | bcm5719-llvm-d8e38b9b888b6c18edb41a77e59cbbf86c25bdea.tar.gz bcm5719-llvm-d8e38b9b888b6c18edb41a77e59cbbf86c25bdea.zip |
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
-rw-r--r-- | llvm/test/CodeGen/SystemZ/mature-mc-support.ll | 8 | ||||
-rw-r--r-- | llvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/SystemZ/mature-mc-support.ll b/llvm/test/CodeGen/SystemZ/mature-mc-support.ll index a01716c2767..bf82c363f43 100644 --- a/llvm/test/CodeGen/SystemZ/mature-mc-support.ll +++ b/llvm/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/llvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll b/llvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll index 0290d425e57..4633175830a 100644 --- a/llvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll +++ b/llvm/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 |