repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
zpu: simple fn with stack slots compile
[llvm/zpu.git]
/
test
/
CodeGen
/
MSP430
/
2009-12-21-FrameAddr.ll
blob
b92477bed578ca8801f4c553fdefe96cd6575c63
1
; RUN: llc < %s
2
; PR5703
3
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
4
target triple = "msp430-unknown-linux-gnu"
5
6
define msp430_intrcc void @foo() nounwind {
7
entry:
8
%fa = call i16* @llvm.frameaddress(i32 0)
9
store i16 0, i16* %fa
10
ret void
11
}
12
13
declare i16* @llvm.frameaddress(i32)