diff --git a/test/Regression/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll b/test/Regression/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll new file mode 100644 index 00000000000..cef129192f8 --- /dev/null +++ b/test/Regression/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output + +declare int* %bar() + +float* %foo() { + %tmp.11 = invoke float* cast (int* ()* %bar to float* ()*)() + to label %invoke_cont except label %invoke_cont + +invoke_cont: + ret float *%tmp.11 +}