mirror of
https://github.com/jeremysrand/llvm-65816.git
synced 2024-11-05 00:06:07 +00:00
17 lines
389 B
LLVM
17 lines
389 B
LLVM
; RUN: opt < %s -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
|
|
unreachable
|
|
}
|
|
|