repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement bswap
[llvm/msp430.git]
/
test
/
Assembler
/
2008-09-29-RetAttr.ll
blob
f7db96d22641d939532f09521d2707a8917fac63
1
; Test return attributes
2
; RUN: llvm-as < %s | llvm-dis | grep "define inreg i32"
3
; RUN: llvm-as < %s | llvm-dis | grep "call inreg i32"
4
5
define inreg i32 @fn1() {
6
ret i32 0
7
}
8
9
define void @fn2() {
10
%t = call inreg i32 @fn1()
11
ret void
12
}
13