[RISCV] Use RISCVSubtarget::is64Bit() instead of hasFeature(RISCV::Feature64Bit)...
[llvm-project.git] / llvm / test / Transforms / LoopDeletion / 2017-07-11-incremental-dt.ll
blobe944a8fe15fc44e8277002ad9527b3e5bad4ea78
1 ; RUN: opt < %s -passes='loop(loop-deletion),print<domtree>' -verify-dom-info 2>&1 | FileCheck -check-prefix=DT %s
3 ; CHECK: for.body
4 ; CHECK-NOT: for.cond1
6 ; Verify only the important parts of the DomTree.
7 ; DT: [1] %entry
8 ; DT:   [2] %for.cond
9 ; DT:     [3] %lbl63A679E5
10 ; DT:     [3] %for.cond9
11 ; DT:     [3] %lbl64774A9B
12 ; DT:     [3] %for.body
13 ; DT:       [4] %for.cond3.loopexit
15 define i32 @fn1() {
16 entry:
17   br label %for.cond
19 for.cond:                                         ; preds = %entry
20   br i1 true, label %lbl63A679E5, label %for.body
22 for.body:                                         ; preds = %for.cond
23   br label %for.cond1
25 for.cond1:                                        ; preds = %for.cond1, %for.body
26   br i1 false, label %for.cond1, label %for.cond3.loopexit
28 for.cond3.loopexit:                               ; preds = %for.cond1
29   br label %for.cond3
31 for.cond3:                                        ; preds = %for.cond9, %for.cond3.loopexit
32   br i1 false, label %for.body4, label %for.cond17
34 for.body4:                                        ; preds = %for.cond3
35   br label %for.cond5
37 for.cond5:                                        ; preds = %lbl63A679E5, %for.body4
38   br label %for.cond9
40 lbl63A679E5:                                      ; preds = %for.cond
41   br label %for.cond5
43 for.cond9:                                        ; preds = %for.end14.split, %for.cond5
44   br i1 false, label %for.cond3, label %lbl64774A9B
46 lbl64774A9B:                                      ; preds = %for.cond17, %for.cond9
47   br label %for.end14.split
49 for.end14.split:                                  ; preds = %lbl64774A9B
50   br label %for.cond9
52 for.cond17:                                       ; preds = %for.cond3
53   br label %lbl64774A9B