aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/PostDominators/pr1098.ll
blob: afb47769ee498a6bab30a77018adfdd04ebcce6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: opt < %s -postdomtree -analyze | grep entry
; PR932

define void @foo(i1 %x) {
entry:
        br i1 %x, label %bb1, label %bb0
bb0:            ; preds = %entry, bb0
        br label %bb0
bb1:            ; preds = %entry
        br label %bb2
bb2:            ; preds = %bb1
        ret void
}