• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -adce -disable-output
2
3define void @test() {
4        br i1 false, label %then, label %endif
5
6then:           ; preds = %0
7        invoke void null( i8* null )
8                        to label %invoke_cont unwind label %invoke_catch
9
10invoke_catch:           ; preds = %then
11        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
12                 cleanup
13        resume { i8*, i32 } %exn
14
15invoke_cont:            ; preds = %then
16        ret void
17
18endif:          ; preds = %0
19        ret void
20}
21
22declare i32 @__gxx_personality_v0(...)
23