[InstCombine] Signed saturation patterns
[llvm-core.git] / test / Transforms / ADCE / 2004-05-04-UnreachableBlock.ll
blob123b6832f0f5b03b7375b79debc45f5d24440d7e
1 ; RUN: opt < %s -adce -disable-output
2 ; RUN: opt < %s -adce -adce-remove-loops -disable-output
4 define void @test() {
5 entry:
6         br label %UnifiedReturnBlock
8 UnifiedReturnBlock:             ; preds = %invoke_catch.0, %entry
9         ret void
11 invoke_catch.0:         ; No predecessors!
12         br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
14 UnifiedUnwindBlock:             ; preds = %invoke_catch.0
15         unreachable