aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll
blob: 7d219cb358856e082218b9dd53d02629c7714e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; 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
}