From 457029c244475dd6fb0f4eea1ade2436a2c1fe3c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 3 Oct 2005 23:42:54 +0000 Subject: [PATCH] new testcase for PR635 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23615 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../SimplifyCFG/2005-10-02-InvokeSimplify.ll | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll 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 +}