New testcase crashing the instruction combiner

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-10-30 00:39:25 +00:00
parent 88c1738064
commit 1758d4d863

View File

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