summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-10 07:21:50 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-10 07:21:50 +0000
commit5f4b355f209c772f438d33f3e60c04403d5462eb (patch)
tree25f6441aedb4ae5e89993b0ebaca6817ef24acd2 /llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
parentb5d11980d9c54e4a0ebb3873ef89054726643658 (diff)
downloadbcm5719-llvm-5f4b355f209c772f438d33f3e60c04403d5462eb.tar.gz
bcm5719-llvm-5f4b355f209c772f438d33f3e60c04403d5462eb.zip
Remove llvm-upgrade and update tests.
llvm-svn: 48137
Diffstat (limited to 'llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll')
-rw-r--r--llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll b/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
index 3fded2cc070..8abf3b1cc46 100644
--- a/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
+++ b/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
@@ -1,15 +1,15 @@
; Test that the ExitInMainOptimization pass works correctly
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
+; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
; RUN: grep {ret i32 3} | count 1
; END.
-declare void %exit(int)
-declare void %exitonly(int)
+declare void @exit(i32)
-implementation ; Functions:
+declare void @exitonly(i32)
-int %main () {
- call void %exitonly ( int 3 )
- call void %exit ( int 3 )
- ret int 0
+define i32 @main() {
+ call void @exitonly( i32 3 )
+ call void @exit( i32 3 )
+ ret i32 0
}
+
OpenPOWER on IntegriCloud