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
This commit is contained in:
Jim Grosbach
2009-11-21 21:40:08 +00:00
parent ac0869dc8a
commit f3b33d0b2a
6 changed files with 10 additions and 3 deletions

View File

@@ -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]