Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48137 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Transforms/SimplifyLibCalls/ExitInMain.ll b/test/Transforms/SimplifyLibCalls/ExitInMain.ll
index 3fded2c..8abf3b1 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
}
+