Address issues found by Duncan during post-commit review of r177856.
[oota-llvm.git] / test / Transforms / InstCombine / 2003-10-29-CallSiteResolve.ll
1 ; RUN: opt < %s -instcombine -disable-output
2
3 declare i32* @bar()
4
5 define float* @foo() {
6         %tmp.11 = invoke float* bitcast (i32* ()* @bar to float* ()*)( )
7                         to label %invoke_cont unwind label %X           ; <float*> [#uses=1]
8
9 invoke_cont:            ; preds = %0
10         ret float* %tmp.11
11
12 X:              ; preds = %0
13         %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
14                  cleanup
15         ret float* null
16 }
17
18 declare i32 @__gxx_personality_v0(...)