2009-09-09 00:50:01 +08:00
|
|
|
; RUN: opt %s -adce -disable-output
|
2004-05-05 01:00:10 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
define void @test() {
|
2004-05-05 01:00:10 +08:00
|
|
|
entry:
|
2008-03-01 17:15:35 +08:00
|
|
|
br label %UnifiedReturnBlock
|
2004-05-05 01:00:10 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
UnifiedReturnBlock: ; preds = %invoke_catch.0, %entry
|
|
|
|
ret void
|
2004-05-05 01:00:10 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
invoke_catch.0: ; No predecessors!
|
|
|
|
br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
|
2004-05-05 01:00:10 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
UnifiedUnwindBlock: ; preds = %invoke_catch.0
|
|
|
|
unwind
|
2004-05-05 01:00:10 +08:00
|
|
|
}
|
2008-03-01 17:15:35 +08:00
|
|
|
|