[SystemZ] Support builtin_{frame,return}_address() with non-zero argument (#69405)
[llvm-project.git] / llvm / test / Analysis / PostDominators / pr24415.ll
blob5a0151ae079a5a6a6339daa1ddb94ab24213772c
1 ; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
3 ; Function Attrs: nounwind ssp uwtable
4 define void @foo() {
5   br label %1
7 ; <label>:1                                       ; preds = %0, %1
8   br label %1
9                                                   ; No predecessors!
10   ret void
13 ; CHECK: Inorder PostDominator Tree: 
14 ; CHECK-NEXT:   [1]  <<exit node>>
15 ; CHECK-NEXT:     [2] %2
16 ; CHECK-NEXT:     [2] %1
17 ; CHECK-NEXT:       [3] %0