aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-01 04:09:14 +0000
committerChris Lattner <sabre@nondot.org>2004-07-01 04:09:14 +0000
commitf380445185f6b455e8bb07e3e3450af9c1e99c94 (patch)
tree94c7a73092e301a3566a2087088c4bdf4a88e696 /test/Transforms/SimplifyCFG
parentc76920a2ab8bb5d3f52488a8723e082604fec565 (diff)
downloadexternal_llvm-f380445185f6b455e8bb07e3e3450af9c1e99c94.zip
external_llvm-f380445185f6b455e8bb07e3e3450af9c1e99c94.tar.gz
external_llvm-f380445185f6b455e8bb07e3e3450af9c1e99c94.tar.bz2
Fix testcase. For some reason this was failing only with a release build and
not with a debug build? Rather testrunner only caught it in that case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG')
-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 0f14ec8..73dc3cf 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
}