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 +}