projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[DAGCombiner] Revert load slicing (r192471), until I figure out why it fails on ubuntu.
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
call-void.ll
diff --git
a/test/CodeGen/Generic/call-void.ll
b/test/CodeGen/Generic/call-void.ll
index b23a8d9b2877b278d5182d19a98f5ad5269a7722..9ed4179415930e2e941cc81787fb9acbe1c37ed6 100644
(file)
--- a/
test/CodeGen/Generic/call-void.ll
+++ b/
test/CodeGen/Generic/call-void.ll
@@
-1,8
+1,11
@@
-void %foo() {
- ret void
+; RUN: llc < %s
+
+define void @foo() {
+ ret void
}
-int %main() {
- call void ()* %foo()
-
ret int
0
+define i32 @main() {
+ call void @foo( )
+
ret i32
0
}
+