Home | History | Annotate | Download | only in SimplifyCFG
      1 ; RUN: opt < %s -simplifycfg -S | \
      2 ; RUN: not grep "br label"
      3 
      4 define void @test(i1 %C) {
      5         br i1 %C, label %A, label %B
      6 A:              ; preds = %0
      7         call void @test( i1 %C )
      8         br label %X
      9 B:              ; preds = %0
     10         call void @test( i1 %C )
     11         br label %X
     12 X:              ; preds = %B, %A
     13         ret void
     14 }
     15 
     16