llvm-6502/test/Analysis/PostDominators/pr1098.ll
Owen Anderson 46bb007014 Fix PR1098 by correcting the postdominators analysis.
Patch by Florian Brandner.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50628 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-04 21:07:35 +00:00

15 lines
310 B
LLVM

; RUN: llvm-as < %s | opt -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
}