summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/call-void.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-19 01:41:04 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-19 01:41:04 +0000
commit3f04773f7884c1c7b8b89dddfb177b1f41f54c56 (patch)
tree8c66730e481d8ce70c0a8e082bfdbadc0badcc4b /llvm/test/CodeGen/Generic/call-void.ll
parent22011e90c992533411d2efc17f5efd365a636117 (diff)
downloadbcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.tar.gz
bcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.zip
Remove llvm-upgrade and update tests.
llvm-svn: 47296
Diffstat (limited to 'llvm/test/CodeGen/Generic/call-void.ll')
-rw-r--r--llvm/test/CodeGen/Generic/call-void.ll13
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/Generic/call-void.ll b/llvm/test/CodeGen/Generic/call-void.ll
index 64e6336b16f..b8826899239 100644
--- a/llvm/test/CodeGen/Generic/call-void.ll
+++ b/llvm/test/CodeGen/Generic/call-void.ll
@@ -1,10 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc
+; RUN: llvm-as < %s | llc
-void %foo() {
- ret void
+define void @foo() {
+ ret void
}
-int %main() {
- call void ()* %foo()
- ret int 0
+define i32 @main() {
+ call void @foo( )
+ ret i32 0
}
+
OpenPOWER on IntegriCloud