diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-11-21 21:40:08 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-11-21 21:40:08 +0000 |
commit | f3b33d0b2a50777ddb467e8adefbb018b16570d2 (patch) | |
tree | 4d9f034e1520bec850cc9b59d558c89665283d44 /test/CodeGen/ARM | |
parent | ac0869dc8a7986855c5557cc67d4709600158ef5 (diff) | |
download | external_llvm-f3b33d0b2a50777ddb467e8adefbb018b16570d2.zip external_llvm-f3b33d0b2a50777ddb467e8adefbb018b16570d2.tar.gz external_llvm-f3b33d0b2a50777ddb467e8adefbb018b16570d2.tar.bz2 |
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.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/ARM/ifcvt5.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/ARM/insn-sched1.ll | 2 |
3 files changed, 4 insertions, 2 deletions
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* ; <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 ; <i16> [#uses=1] |