You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
446 B
18 lines
446 B
7 months ago
|
; 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
|
||
|
}
|
||
|
|