From d6a729bb8542b5ad90b93e9f6653410329ed9fdf Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Mon, 6 Jan 2014 14:28:05 +0000 Subject: ARM MachO: sort out isTargetDarwin/isTargetIOS/... checks. The ARM backend has been using most of the MachO related subtarget checks almost interchangeably, and since the only target it's had to run on has been IOS (which is all three of MachO, Darwin and IOS) it's worked out OK so far. But we'd like to support embedded targets under the "*-*-none-macho" triple, which means everything starts falling apart and inconsistent behaviours emerge. This patch should pick a reasonably sensible set of behaviours for the new triple (and any others that come along, with luck). Some choices were debatable (notably FP == r7 or r11), but we can revisit those later when deficiencies become apparent. llvm-svn: 198617 --- llvm/test/CodeGen/ARM/fast-isel-crash2.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/CodeGen/ARM/fast-isel-crash2.ll') diff --git a/llvm/test/CodeGen/ARM/fast-isel-crash2.ll b/llvm/test/CodeGen/ARM/fast-isel-crash2.ll index d606877673d..cccd9eb951b 100644 --- a/llvm/test/CodeGen/ARM/fast-isel-crash2.ll +++ b/llvm/test/CodeGen/ARM/fast-isel-crash2.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mtriple=thumbv7-apple-darwin -; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mtriple=thumbv7-linux-gnueabi +; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=thumbv7-apple-darwin +; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=armv7-linux-gnueabi ; rdar://9515076 ; (Make sure this doesn't crash.) -- cgit v1.2.3