blob: 123b6832f0f5b03b7375b79debc45f5d24440d7e [file] [log] [blame]
; RUN: opt < %s -adce -disable-output
; RUN: opt < %s -adce -adce-remove-loops -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
unreachable
}