mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-19 10:15:00 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
257 B
LLVM
12 lines
257 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 %invoke_cont
|
|
|
|
invoke_cont:
|
|
ret float *%tmp.11
|
|
}
|