summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-11-21 21:40:08 +0000
committerJim Grosbach <grosbach@apple.com>2009-11-21 21:40:08 +0000
commitf3b33d0b2a50777ddb467e8adefbb018b16570d2 (patch)
tree4d9f034e1520bec850cc9b59d558c89665283d44 /test/CodeGen/ARM
parentac0869dc8a7986855c5557cc67d4709600158ef5 (diff)
downloadllvm-f3b33d0b2a50777ddb467e8adefbb018b16570d2.tar.gz
llvm-f3b33d0b2a50777ddb467e8adefbb018b16570d2.tar.bz2
llvm-f3b33d0b2a50777ddb467e8adefbb018b16570d2.tar.xz
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
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/hello.ll2
-rw-r--r--test/CodeGen/ARM/ifcvt5.ll2
-rw-r--r--test/CodeGen/ARM/insn-sched1.ll2
3 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/hello.ll b/test/CodeGen/ARM/hello.ll
index ccdc7bf4c1..23935b96ef 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 623f2cb1df..f6084b8479 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* ; <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 59f0d538d4..717b89cccb 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 ; <i16> [#uses=1]