1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-26 21:32:10 +00:00
llvm-6502/test/Transforms/ADCE/2004-05-04-UnreachableBlock.llx
2006-12-02 04:23:10 +00:00

17 lines
312 B
Plaintext

; RUN: llvm-upgrade < %s | llvm-as | 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
}