Home | History | Annotate | Download | only in SimplifyCFG
      1 ; RUN: opt < %s -simplifycfg -S | grep {br i1} | count 1
      2 
      3 define void @test(i32* %P, i32* %Q, i1 %A, i1 %B) {
      4         br i1 %A, label %a, label %b
      5 a:              ; preds = %0
      6         br i1 %B, label %b, label %c
      7 b:              ; preds = %a, %0
      8         store i32 123, i32* %P
      9         ret void
     10 c:              ; preds = %a
     11         ret void
     12 }
     13 
     14