comparison test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 95c75e76d11b
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
1 ; RUN: opt < %s -adce -disable-output 1 ; RUN: opt < %s -adce -disable-output
2 2
3 define void @test() { 3 define void @test() personality i32 (...)* @__gxx_personality_v0 {
4 br i1 false, label %then, label %endif 4 br i1 false, label %then, label %endif
5 5
6 then: ; preds = %0 6 then: ; preds = %0
7 invoke void null( i8* null ) 7 invoke void null( i8* null )
8 to label %invoke_cont unwind label %invoke_catch 8 to label %invoke_cont unwind label %invoke_catch
9 9
10 invoke_catch: ; preds = %then 10 invoke_catch: ; preds = %then
11 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 11 %exn = landingpad {i8*, i32}
12 cleanup 12 cleanup
13 resume { i8*, i32 } %exn 13 resume { i8*, i32 } %exn
14 14
15 invoke_cont: ; preds = %then 15 invoke_cont: ; preds = %then
16 ret void 16 ret void