llvm/test/Analysis/PostDominators/pr6047_b.ll
Tobias Grosser da5173f8bf Revert "Fix PR 24415 (at least), by making our post-dominator tree behavior sane."
and also "clang-format GenericDomTreeConstruction.h, since the current
formatting makes it look like their is a bug in the loop indentation, and there
is not"

This reverts commit r296535.

There are still some open design questions which I would like to discuss. I
revert this for Daniel (who gave the OK), as he is on vacation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296812 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-02 21:08:37 +00:00

20 lines
272 B
LLVM

; RUN: opt < %s -postdomtree -analyze | FileCheck %s
define internal void @f() {
entry:
br i1 undef, label %a, label %bb3.i
a:
br i1 undef, label %bb35, label %bb3.i
bb3.i:
br label %bb3.i
bb35.loopexit3:
br label %bb35
bb35:
ret void
}
; CHECK: [4] %entry