2008-03-01 09:15:35 +00:00
|
|
|
; RUN: llvm-as < %s | opt -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
|
|
|
|
unwind
|
2004-05-04 17:00:10 +00:00
|
|
|
}
|
2008-03-01 09:15:35 +00:00
|
|
|
|