mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-17 03:07:06 +00:00
4c8e36934f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32627 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|