Fix testcase. For some reason this was failing only with a release build and
authorChris Lattner <sabre@nondot.org>
Thu, 1 Jul 2004 04:09:14 +0000 (04:09 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 1 Jul 2004 04:09:14 +0000 (04:09 +0000)
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

test/Transforms/SimplifyCFG/InvokeEliminate.ll

index 0f14ec82eb25ff926873b4b26c50df477dc7d776..73dc3cfb153e3f6dd9420eab618918ed46fdc0da 100644 (file)
@@ -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
 }