1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/CodeGen/MSP430/2009-12-21-FrameAddr.ll
Anton Korobeynikov 04878d43e1 Add testcase for PR5703
llvm-svn: 91931
2009-12-22 22:37:23 +00:00

14 lines
292 B
LLVM

; RUN: llc < %s
; PR5703
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
target triple = "msp430-unknown-linux-gnu"
define msp430_intrcc void @foo() nounwind {
entry:
%fa = call i16* @llvm.frameaddress(i32 0)
store i16 0, i16* %fa
ret void
}
declare i16* @llvm.frameaddress(i32)