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
Fix part 1 of pr4682. PICADD is a 16-bit instruction even in thumb2 mode.
[llvm/avr.git]
/
test
/
CodeGen
/
Generic
/
call2-ret0.ll
blob
8c7e8920f259856aea2371b4bb8e41483c65e8bc
1
; RUN: llvm-as < %s | llc
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