1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll
2008-03-01 09:15:35 +00:00

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
}