2009-09-11 18:01:28 +00:00
|
|
|
; RUN: opt < %s -adce -disable-output
|
2004-05-04 17:00:10 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define void @test() {
|
2004-05-04 17:00:10 +00:00
|
|
|
entry:
|
2008-03-01 09:15:35 +00:00
|
|
|
br label %UnifiedReturnBlock
|
2004-05-04 17:00:10 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
UnifiedReturnBlock: ; preds = %invoke_catch.0, %entry
|
|
|
|
ret void
|
2004-05-04 17:00:10 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
invoke_catch.0: ; No predecessors!
|
|
|
|
br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
|
2004-05-04 17:00:10 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
UnifiedUnwindBlock: ; preds = %invoke_catch.0
|
2011-09-02 22:41:11 +00:00
|
|
|
unreachable
|
2004-05-04 17:00:10 +00:00
|
|
|
}
|
2008-03-01 09:15:35 +00:00
|
|
|
|