repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
Feature
/
prototype.ll
blob
3754a1d9596e9fc0e911a020cae302cbef1cc7d7
1
; RUN: llvm-as < %s | llvm-dis > %t1.ll
2
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3
; RUN: diff %t1.ll %t2.ll
4
5
declare i32 @bar(i32)
6
7
define i32 @foo(i32 %blah) {
8
%xx = call i32 @bar( i32 %blah ) ; <i32> [#uses=1]
9
ret i32 %xx
10
}
11