[llvm-commits] [llvm] r83994 - in /llvm/trunk/test/Transforms/SimplifyCFG: InvokeEliminate.ll invoke_unwind.ll
Chris Lattner
sabre at nondot.org
Tue Oct 13 11:08:22 PDT 2009
Author: lattner
Date: Tue Oct 13 13:08:21 2009
New Revision: 83994
URL: http://llvm.org/viewvc/llvm-project?rev=83994&view=rev
Log:
rename test
Added:
llvm/trunk/test/Transforms/SimplifyCFG/invoke_unwind.ll
- copied unchanged from r83936, llvm/trunk/test/Transforms/SimplifyCFG/InvokeEliminate.ll
Removed:
llvm/trunk/test/Transforms/SimplifyCFG/InvokeEliminate.ll
Removed: llvm/trunk/test/Transforms/SimplifyCFG/InvokeEliminate.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/InvokeEliminate.ll?rev=83993&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/InvokeEliminate.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/InvokeEliminate.ll (removed)
@@ -1,18 +0,0 @@
-; This testcase checks to see if the simplifycfg pass is converting invoke
-; instructions to call instructions if the handler just rethrows the exception.
-
-; If this test is successful, the function should be reduced to 'call; ret'
-
-; RUN: opt < %s -simplifycfg -S | \
-; RUN: not egrep {\\(invoke\\)|\\(br\\)}
-
-declare void @bar()
-
-define i32 @test() {
- invoke void @bar( )
- to label %Ok unwind label %Rethrow
-Ok: ; preds = %0
- ret i32 0
-Rethrow: ; preds = %0
- unwind
-}
More information about the llvm-commits
mailing list