repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
CodeGen
/
Generic
/
call2-ret0.ll
blob
4e57ef804f2299652f3a7cd91ae02b487b9f0d1b
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