diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-03-10 07:21:50 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-03-10 07:21:50 +0000 |
commit | ceca194c4355224723b309a3a27c5e5bc19cb6fc (patch) | |
tree | d976e8cf9d933c32868d72a94d1ec2d9d7205735 /test/Transforms/SimplifyLibCalls/ExitInMain.ll | |
parent | f79e60649a5edea03bdccf8521d77c15cbb33af4 (diff) |
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyLibCalls/ExitInMain.ll')
-rw-r--r-- | test/Transforms/SimplifyLibCalls/ExitInMain.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Transforms/SimplifyLibCalls/ExitInMain.ll b/test/Transforms/SimplifyLibCalls/ExitInMain.ll index 3fded2cc07..8abf3b1cc4 100644 --- a/test/Transforms/SimplifyLibCalls/ExitInMain.ll +++ b/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 } + |