mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
4572ce85b0
llvm-svn: 33296
14 lines
267 B
LLVM
14 lines
267 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
|
|
|
|
declare int* %bar()
|
|
|
|
float* %foo() {
|
|
%tmp.11 = invoke float* cast (int* ()* %bar to float* ()*)()
|
|
to label %invoke_cont except label %X
|
|
|
|
invoke_cont:
|
|
ret float *%tmp.11
|
|
X:
|
|
ret float *null
|
|
}
|