blob: 62aaf96e0f69f40cbaa41b2d06ce200e0d1057c6 [file] [log] [blame]
; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
; PR932
define void @foo(i1 %x) {
; CHECK: entry
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
}