projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update tests for 84931.
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
call2-ret0.ll
1
; RUN: llc < %s
2
3
define i32 @bar(i32 %x) {
4
ret i32 0
5
}
6
7
define i32 @foo(i32 %x) {
8
%q = call i32 @bar( i32 1 ) ; <i32> [#uses=1]
9
ret i32 %q
10
}
11
12
define i32 @main() {
13
%r = call i32 @foo( i32 2 ) ; <i32> [#uses=1]
14
ret i32 %r
15
}
16