1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/ADCE/2004-05-04-UnreachableBlock.llx
Chris Lattner fb38755cdd New testcase for PR332
llvm-svn: 13348
2004-05-04 17:00:10 +00:00

17 lines
297 B
Plaintext

; 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
}