From: Chris Lattner Date: Thu, 1 Jul 2004 04:09:14 +0000 (+0000) Subject: Fix testcase. For some reason this was failing only with a release build and X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f380445185f6b455e8bb07e3e3450af9c1e99c94;p=oota-llvm.git 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 --- diff --git a/test/Transforms/SimplifyCFG/InvokeEliminate.ll b/test/Transforms/SimplifyCFG/InvokeEliminate.ll index 0f14ec82eb2..73dc3cfb153 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 }