mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
New testcase crashing the instruction combiner
llvm-svn: 9599
This commit is contained in:
parent
f24ae5a0ed
commit
6edd43eaae
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user