1; RUN: llc < %s
2; PR5703
3target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
4target triple = "msp430-unknown-linux-gnu"
5
6define msp430_intrcc void @foo() nounwind #0 {
7entry:
8	%fa = call i8* @llvm.frameaddress(i32 0)
9	store i8 0, i8* %fa
10	ret void
11}
12
13declare i8* @llvm.frameaddress(i32)
14
15attributes #0 = { noinline nounwind optnone "interrupt"="2" }
16