mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
1758d4d863
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9599 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
242 B
LLVM
12 lines
242 B
LLVM
; 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
|
|
}
|