annotate test/CodeGen/Hexagon/unreachable-mbb-phi-subreg.mir @ 146:3fc4d5c3e21e

set tail call flag for code segment in CGCAll
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:23:36 +0900
parents 3a76565eade5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 # RUN: llc -march=hexagon -run-pass unreachable-mbb-elimination %s -o - | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 ---
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 name: fred
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5 tracksRegLiveness: true
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 body: |
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 bb.0:
134
3a76565eade5 update 5.0.1
mir3636
parents: 121
diff changeset
8 liveins: $d0
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9 successors: %bb.2
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10
134
3a76565eade5 update 5.0.1
mir3636
parents: 121
diff changeset
11 %0 : doubleregs = COPY $d0
3a76565eade5 update 5.0.1
mir3636
parents: 121
diff changeset
12 J2_jump %bb.2, implicit-def $pc
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 bb.1:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 successors: %bb.2
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 A2_nop
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 bb.2:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19 ; Make sure that the subregister from the PHI operand is preserved.
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
20 ; CHECK: %[[REG:[0-9]+]]:intregs = COPY %0.isub_lo
134
3a76565eade5 update 5.0.1
mir3636
parents: 121
diff changeset
21 ; CHECK: $r0 = COPY %[[REG]]
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
22 %1 : intregs = PHI %0.isub_lo, %bb.0, %0.isub_hi, %bb.1
134
3a76565eade5 update 5.0.1
mir3636
parents: 121
diff changeset
23 $r0 = COPY %1
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
24 ...