blob: 87a1550e9d45e3634539a28bc892d184234fa961 [file] [log] [blame]
; RUN: llvm-as < %s | opt -adce -disable-output
define void @test() {
entry:
br label %UnifiedReturnBlock
UnifiedReturnBlock: ; preds = %invoke_catch.0, %entry
ret void
invoke_catch.0: ; No predecessors!
br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
UnifiedUnwindBlock: ; preds = %invoke_catch.0
unwind
}