summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit43fd8222494b7391154a0e77f8b400ce5d18e076 (patch)
tree6ea468a615ef53af26b63cd0dbf8bca9c6fdb099 /llvm/test/CodeGen/ARM
parent252ba5fb6f2888b990a9d3b4c18f42295436fbd9 (diff)
downloadbcm5719-llvm-43fd8222494b7391154a0e77f8b400ce5d18e076.tar.gz
bcm5719-llvm-43fd8222494b7391154a0e77f8b400ce5d18e076.zip
Darwin requires a frame pointer for all non-leaf functions to support correct
backtraces. llvm-svn: 89562
Diffstat (limited to 'llvm/test/CodeGen/ARM')
-rw-r--r--llvm/test/CodeGen/ARM/hello.ll2
-rw-r--r--llvm/test/CodeGen/ARM/ifcvt5.ll2
-rw-r--r--llvm/test/CodeGen/ARM/insn-sched1.ll2
3 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/hello.ll b/llvm/test/CodeGen/ARM/hello.ll
index ccdc7bf4c14..23935b96efd 100644
--- a/llvm/test/CodeGen/ARM/hello.ll
+++ b/llvm/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/llvm/test/CodeGen/ARM/ifcvt5.ll b/llvm/test/CodeGen/ARM/ifcvt5.ll
index 623f2cb1dfa..f6084b84795 100644
--- a/llvm/test/CodeGen/ARM/ifcvt5.ll
+++ b/llvm/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/llvm/test/CodeGen/ARM/insn-sched1.ll b/llvm/test/CodeGen/ARM/insn-sched1.ll
index 59f0d538d47..717b89cccb5 100644
--- a/llvm/test/CodeGen/ARM/insn-sched1.ll
+++ b/llvm/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]
OpenPOWER on IntegriCloud