blob: 123b6832f0f5b03b7375b79debc45f5d24440d7e [file] [log] [blame]
Eric Christophercee313d2019-04-17 04:52:47 +00001; RUN: opt < %s -adce -disable-output
2; RUN: opt < %s -adce -adce-remove-loops -disable-output
3
4define void @test() {
5entry:
6 br label %UnifiedReturnBlock
7
8UnifiedReturnBlock: ; preds = %invoke_catch.0, %entry
9 ret void
10
11invoke_catch.0: ; No predecessors!
12 br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
13
14UnifiedUnwindBlock: ; preds = %invoke_catch.0
15 unreachable
16}
17