mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
24dcbaf756
Nodes that had children outside of the post dominator tree (infinite loops) where removed from the post dominator tree. This seems to be wrong. Leave them in the tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93633 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
272 B
LLVM
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
|