John Bauman | 66b8ab2 | 2014-05-06 15:57:45 -0400 | [diff] [blame] | 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(...)
|