reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
; RUN: opt < %s -simplifycfg -S | \
; RUN: not grep "br label"

define void @test(i1 %C) {
        br i1 %C, label %A, label %B
A:              ; preds = %0
        call void @test( i1 %C )
        br label %X
B:              ; preds = %0
        call void @test( i1 %C )
        br label %X
X:              ; preds = %B, %A
        ret void
}