2009-12-23 06:37:23 +08:00
|
|
|
; 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"
|
|
|
|
|
2019-01-16 22:03:41 +08:00
|
|
|
define msp430_intrcc void @foo() nounwind #0 {
|
2009-12-23 06:37:23 +08:00
|
|
|
entry:
|
2012-05-28 03:35:41 +08:00
|
|
|
%fa = call i8* @llvm.frameaddress(i32 0)
|
|
|
|
store i8 0, i8* %fa
|
2009-12-23 06:37:23 +08:00
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2012-05-28 03:35:41 +08:00
|
|
|
declare i8* @llvm.frameaddress(i32)
|
2019-01-16 22:03:41 +08:00
|
|
|
|
|
|
|
attributes #0 = { noinline nounwind optnone "interrupt"="2" }
|