[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / Transforms / ADCE / 2004-05-04-UnreachableBlock.ll
blob2164334d983ed4df560759e41ec39b2099295548
1 ; RUN: opt < %s -passes=adce -disable-output
2 ; RUN: opt < %s -passes=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