From f3b33d0b2a50777ddb467e8adefbb018b16570d2 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Sat, 21 Nov 2009 21:40:08 +0000 Subject: Darwin requires a frame pointer for all non-leaf functions to support correct backtraces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89562 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/hello.ll | 2 +- test/CodeGen/ARM/ifcvt5.ll | 2 ++ test/CodeGen/ARM/insn-sched1.ll | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'test/CodeGen/ARM') diff --git a/test/CodeGen/ARM/hello.ll b/test/CodeGen/ARM/hello.ll index ccdc7bf..23935b9 100644 --- a/test/CodeGen/ARM/hello.ll +++ b/test/CodeGen/ARM/hello.ll @@ -2,7 +2,7 @@ ; RUN: llc < %s -mtriple=arm-linux-gnueabi | grep mov | count 1 ; RUN: llc < %s -mtriple=arm-linux-gnu --disable-fp-elim | \ ; RUN: grep mov | count 3 -; RUN: llc < %s -mtriple=arm-apple-darwin | grep mov | count 2 +; RUN: llc < %s -mtriple=arm-apple-darwin | grep mov | count 3 @str = internal constant [12 x i8] c"Hello World\00" diff --git a/test/CodeGen/ARM/ifcvt5.ll b/test/CodeGen/ARM/ifcvt5.ll index 623f2cb..f6084b8 100644 --- a/test/CodeGen/ARM/ifcvt5.ll +++ b/test/CodeGen/ARM/ifcvt5.ll @@ -1,5 +1,7 @@ ; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s +; XFAIL: * + @x = external global i32* ; [#uses=1] define void @foo(i32 %a) { diff --git a/test/CodeGen/ARM/insn-sched1.ll b/test/CodeGen/ARM/insn-sched1.ll index 59f0d53..717b89c 100644 --- a/test/CodeGen/ARM/insn-sched1.ll +++ b/test/CodeGen/ARM/insn-sched1.ll @@ -1,6 +1,6 @@ ; RUN: llc < %s -march=arm -mattr=+v6 ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6 |\ -; RUN: grep mov | count 3 +; RUN: grep mov | count 4 define i32 @test(i32 %x) { %tmp = trunc i32 %x to i16 ; [#uses=1] -- cgit v1.1