1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll

17 lines
382 B
LLVM
Raw Normal View History

; RUN: opt %s -adce -disable-output
2004-05-04 19:00:10 +02:00
define void @test() {
2004-05-04 19:00:10 +02:00
entry:
br label %UnifiedReturnBlock
2004-05-04 19:00:10 +02:00
UnifiedReturnBlock: ; preds = %invoke_catch.0, %entry
ret void
2004-05-04 19:00:10 +02:00
invoke_catch.0: ; No predecessors!
br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
2004-05-04 19:00:10 +02:00
UnifiedUnwindBlock: ; preds = %invoke_catch.0
unwind
2004-05-04 19:00:10 +02:00
}