2009-09-12 02:01:28 +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
|
2011-09-03 06:41:11 +08:00
|
|
|
unreachable
|
2004-05-05 01:00:10 +08:00
|
|
|
}
|
2008-03-01 17:15:35 +08:00
|
|
|
|