diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-30 00:39:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-30 00:39:25 +0000 |
commit | 1758d4d8635b9581ce872cad392af25e87b1a925 (patch) | |
tree | c0332236db66b5c86a8c3cbd15f0a7845c5d516b | |
parent | 88c17380646dbb7c0c5054a392de5a46d17620ba (diff) | |
download | llvm-1758d4d8635b9581ce872cad392af25e87b1a925.tar.gz llvm-1758d4d8635b9581ce872cad392af25e87b1a925.tar.bz2 llvm-1758d4d8635b9581ce872cad392af25e87b1a925.tar.xz |
New testcase crashing the instruction combiner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9599 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll b/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll new file mode 100644 index 0000000000..cef129192f --- /dev/null +++ b/test/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 +} |