121
|
1 # RUN: llc -march=hexagon -run-pass unreachable-mbb-elimination %s -o - | FileCheck %s
|
|
2
|
|
3 ---
|
|
4 name: fred
|
|
5 tracksRegLiveness: true
|
|
6 body: |
|
|
7 bb.0:
|
134
|
8 liveins: $d0
|
121
|
9 successors: %bb.2
|
|
10
|
134
|
11 %0 : doubleregs = COPY $d0
|
|
12 J2_jump %bb.2, implicit-def $pc
|
121
|
13
|
|
14 bb.1:
|
|
15 successors: %bb.2
|
|
16 A2_nop
|
|
17
|
|
18 bb.2:
|
|
19 ; Make sure that the subregister from the PHI operand is preserved.
|
|
20 ; CHECK: %[[REG:[0-9]+]]:intregs = COPY %0.isub_lo
|
134
|
21 ; CHECK: $r0 = COPY %[[REG]]
|
121
|
22 %1 : intregs = PHI %0.isub_lo, %bb.0, %0.isub_hi, %bb.1
|
134
|
23 $r0 = COPY %1
|
121
|
24 ...
|