From 7c80f98b69a6a9ad027a3f4bfda073958141d977 Mon Sep 17 00:00:00 2001 From: Kit Barton Date: Tue, 28 Aug 2018 01:18:29 +0000 Subject: [PPC] Remove Darwin support from POWER backend. This patch issues an error message if Darwin ABI is attempted with the PPC backend. It also cleans up existing test cases, either converting the test to use an alternative triple or removing the test if the coverage is no longer needed. Updated Tests ------------- The majority of test cases were updated to use a different triple that does not include the Darwin ABI. Many tests were also updated to use FileCheck, in place of grep. Deleted Tests ------------- llvm/test/tools/dsymutil/PowerPC/sibling.test was originally added to test specific functionality of dsymutil using an object file created with an old version of llvm-gcc for a Powerbook G4. After a discussion with @JDevlieghere he suggested removing the test. llvm/test/CodeGen/PowerPC/combine_loads_from_build_pair.ll was converted from a PPC test to a SystemZ test, as the behavior is also reproducible there. All other tests that were deleted were specific to the darwin/ppc ABI and no longer necessary. Phabricator Review: https://reviews.llvm.org/D50988 llvm-svn: 340795 --- llvm/test/CodeGen/PowerPC/vec_splat_constant.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/CodeGen/PowerPC/vec_splat_constant.ll') diff --git a/llvm/test/CodeGen/PowerPC/vec_splat_constant.ll b/llvm/test/CodeGen/PowerPC/vec_splat_constant.ll index 1751d04b2b9..1f6a38ee7c2 100644 --- a/llvm/test/CodeGen/PowerPC/vec_splat_constant.ll +++ b/llvm/test/CodeGen/PowerPC/vec_splat_constant.ll @@ -1,11 +1,11 @@ -; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s +; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -mcpu=g5 | FileCheck %s ; Formerly incorrectly inserted vsldoi (endian confusion) @baz = common global <16 x i8> zeroinitializer ; <<16 x i8>*> [#uses=1] define void @foo(<16 x i8> %x) nounwind ssp { entry: -; CHECK: _foo: +; CHECK: foo: ; CHECK-NOT: vsldoi %x_addr = alloca <16 x i8> ; <<16 x i8>*> [#uses=2] %temp = alloca <16 x i8> ; <<16 x i8>*> [#uses=2] -- cgit v1.2.3