mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
388 B
LLVM
16 lines
388 B
LLVM
; RUN: llvm-as < %s | opt -instcombine -disable-output
|
|
|
|
declare i32* @bar()
|
|
|
|
define float* @foo() {
|
|
%tmp.11 = invoke float* bitcast (i32* ()* @bar to float* ()*)( )
|
|
to label %invoke_cont unwind label %X ; <float*> [#uses=1]
|
|
|
|
invoke_cont: ; preds = %0
|
|
ret float* %tmp.11
|
|
|
|
X: ; preds = %0
|
|
ret float* null
|
|
}
|
|
|