repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Handle logical shift right (at least I hope so :) )
[llvm/msp430.git]
/
test
/
CodeGen
/
Generic
/
call-ret42.ll
blob
ac9bd9235794e16f08a83371055275ffdee57b0e
1
; RUN: llvm-as < %s | llc
2
3
define i32 @foo(i32 %x) {
4
ret i32 42
5
}
6
7
define i32 @main() {
8
%r = call i32 @foo( i32 15 ) ; <i32> [#uses=1]
9
ret i32 %r
10
}