1 ; Test CFG simplify removal of branch instructions.
3 ; RUN: opt < %s -simplifycfg -S | FileCheck %s
12 define void @test2() {
16 ; CHECK-NEXT: ret void
20 define void @test3(i1 %T) {
21 br i1 %T, label %1, label %1
24 ; CHECK-NEXT: ret void
29 define void @test5(i32 %A) {
30 switch i32 %A, label %return [
39 return: ; preds = %entry
42 ; CHECK-NEXT: ret void