llvm-6502/test/Transforms/ADCE/2004-05-04-UnreachableBlock.llx

17 lines
297 B
Plaintext
Raw Normal View History

; RUN: llvm-as < %s | opt -adce -disable-output
void %test() {
entry:
br label %UnifiedReturnBlock
UnifiedReturnBlock:
ret void
invoke_catch.0: ; No predecessors!
br bool false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
UnifiedUnwindBlock: ; preds = %invoke_catch.0
unwind
}