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
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git]
/
test
/
Transforms
/
Inline
/
basictest.ll
blob
71e00cb4c0827562ce5690f591ac5053ff46800e
1
; RUN: opt < %s -inline -disable-output -print-function 2> /dev/null
2
3
define i32 @func(i32 %i) {
4
ret i32 %i
5
}
6
7
define i32 @main(i32 %argc) {
8
%X = call i32 @func( i32 7 ) ; <i32> [#uses=1]
9
%Y = add i32 %X, %argc ; <i32> [#uses=1]
10
ret i32 %Y
11
}
12