summaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyLibCalls
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-10-15 16:26:17 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-10-15 16:26:17 +0000
commit5cd822fa9bbb9622241e3bf4d7674ed49ccde5b9 (patch)
treefbc3e1401bc9623b861166be5940c750f5ca52da /test/Transforms/SimplifyLibCalls
parent26137f35958fa2237eceb06ef7003e3c19159129 (diff)
Notes
Diffstat (limited to 'test/Transforms/SimplifyLibCalls')
-rw-r--r--test/Transforms/SimplifyLibCalls/ExitInMain.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/Transforms/SimplifyLibCalls/ExitInMain.ll b/test/Transforms/SimplifyLibCalls/ExitInMain.ll
deleted file mode 100644
index 8abf3b1cc46ba..0000000000000
--- a/test/Transforms/SimplifyLibCalls/ExitInMain.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; Test that the ExitInMainOptimization pass works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
-; RUN: grep {ret i32 3} | count 1
-; END.
-
-declare void @exit(i32)
-
-declare void @exitonly(i32)
-
-define i32 @main() {
- call void @exitonly( i32 3 )
- call void @exit( i32 3 )
- ret i32 0
-}
-