diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-03 23:42:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-03 23:42:54 +0000 |
commit | 457029c244475dd6fb0f4eea1ade2436a2c1fe3c (patch) | |
tree | 9f0ab1effd0e63c5bc8adeadc4ca4fa018d97c75 | |
parent | cea141f1d1f85997c4c657009994bdacbc3a3dbf (diff) |
new testcase for PR635
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23615 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll | 13 |
1 files changed, 13 insertions, 0 deletions
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 0000000000..3a29cb8318 --- /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 +} |