aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/SimplifyCFG/InvokeEliminate.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Transforms/SimplifyCFG/InvokeEliminate.ll b/test/Transforms/SimplifyCFG/InvokeEliminate.ll
index 0f14ec82eb..73dc3cfb15 100644
--- a/test/Transforms/SimplifyCFG/InvokeEliminate.ll
+++ b/test/Transforms/SimplifyCFG/InvokeEliminate.ll
@@ -6,14 +6,12 @@
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not egrep 'invoke|br'
declare void %bar()
-declare void %llvm.unwind()
int %test() {
invoke void %bar() to label %Ok except label %Rethrow
Ok:
ret int 0
Rethrow:
- call void %llvm.unwind()
- br label %Ok
+ unwind
}