From: Chris Lattner Date: Mon, 3 Oct 2005 23:42:54 +0000 (+0000) Subject: new testcase for PR635 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=457029c244475dd6fb0f4eea1ade2436a2c1fe3c;p=oota-llvm.git new testcase for PR635 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23615 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll b/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll new file mode 100644 index 00000000000..3a29cb8318b --- /dev/null +++ b/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll @@ -0,0 +1,13 @@ +; RUN: llvm-as < %s | opt -simplifycfg -disable-output + +bool %foo() { + %X = invoke bool %foo() to label %N unwind label %F +F: + ret bool false +N: + br bool %X, label %A, label %B +A: + ret bool true +B: + ret bool true +}