llvm-project/llvm/test/Analysis/PostDominators/pr1098.ll

16 lines
317 B
LLVM
Raw Normal View History

2013-08-22 08:51:19 +08:00
; RUN: opt < %s -postdomtree -analyze | FileCheck %s
; PR932
define void @foo(i1 %x) {
2013-08-22 08:51:19 +08:00
; 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
}