projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix PR8612 in the standard spiller, take two.
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
call-ret0.ll
diff --git
a/test/CodeGen/Generic/call-ret0.ll
b/test/CodeGen/Generic/call-ret0.ll
index 44c30d3f6fde6c2ea602f34ae59801f017461f4b..a8e00cd54ef71caa3d26dd02dda79bf8b3a41ebe 100644
(file)
--- a/
test/CodeGen/Generic/call-ret0.ll
+++ b/
test/CodeGen/Generic/call-ret0.ll
@@
-1,10
+1,10
@@
-; RUN: llvm-upgrade < %s | llvm-as | llc
-
-int %foo(int %x) {
- ret int %x
+; RUN: llc < %s
+define i32 @foo(i32 %x) {
+ ret i32 %x
}
}
-int %main() {
- %r = call int %foo(int 0)
-
ret int
%r
+define i32 @main() {
+ %r = call i32 @foo( i32 0 ) ; <i32> [#uses=1]
+
ret i32
%r
}
}
+