repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
Assembler
/
2008-09-29-RetAttr.ll
blob
5eb608d4a6931ee9634ab739724f37e98d9de297
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
; RUN: verify-uselistorder %s
5
6
define inreg i32 @fn1() {
7
ret i32 0
8
}
9
10
define void @fn2() {
11
%t = call inreg i32 @fn1()
12
ret void
13
}
14