When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / Transforms / ADCE / 2004-05-04-UnreachableBlock.ll
bloba6a41fd69effe9199ab7ca7eae70994be6721426
1 ; RUN: opt < %s -adce -disable-output
3 define void @test() {
4 entry:
5         br label %UnifiedReturnBlock
7 UnifiedReturnBlock:             ; preds = %invoke_catch.0, %entry
8         ret void
10 invoke_catch.0:         ; No predecessors!
11         br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
13 UnifiedUnwindBlock:             ; preds = %invoke_catch.0
14         unwind