[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / lo16-lo16-physreg-copy-agpr.mir
blob3e2cf90d26993df956feac0575da25c9fb767d7c
1 # RUN: llc -march=amdgcn -mcpu=gfx908 -start-before postrapseudos -asm-verbose=0 -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
3 # GCN-LABEL: {{^}}lo_to_lo_agpr_to_agpr:
4 # GCN:      v_accvgpr_read_b32 [[TMP:v[0-9]+]], a0
5 # GCN-NEXT: s_nop 1
6 # GCN-NEXT: v_accvgpr_write_b32 a1, [[TMP]]
7 name: lo_to_lo_agpr_to_agpr
8 tracksRegLiveness: true
9 body:             |
10   bb.0:
11     $agpr0 = IMPLICIT_DEF
12     $agpr1_lo16 = COPY $agpr0_lo16
13     S_ENDPGM 0
14 ...
16 # GCN-LABEL: {{^}}lo_to_lo_samereg:
17 # GCN:        s_waitcnt
18 # GCN-NEXT:   s_endpgm
19 name: lo_to_lo_samereg
20 tracksRegLiveness: true
21 body:             |
22   bb.0:
23     $agpr0 = IMPLICIT_DEF
24     $agpr0_lo16 = COPY $agpr0_lo16
25     S_ENDPGM 0
26 ...
28 # GCN-LABEL: {{^}}lo_to_lo_undef_agpr_to_agpr:
29 # GCN:      v_accvgpr_read_b32 [[TMP:v[0-9]+]], a1
30 # GCN-NEXT: s_nop 1
31 # GCN-NEXT: v_accvgpr_write_b32 a2, [[TMP]]
32 name: lo_to_lo_undef_agpr_to_agpr
33 tracksRegLiveness: true
34 body:             |
35   bb.0:
36     $agpr1_lo16 = COPY undef $agpr0_lo16
37     $agpr2 = COPY killed $agpr1
38     S_ENDPGM 0
39 ...
41 # GCN-LABEL: {{^}}lo_to_lo_sgpr_to_agpr:
42 # GCN:      v_mov_b32_e32 [[TMP:v[0-9]+]], s0
43 # GCN-NEXT: s_nop 1
44 # GCN-NEXT: v_accvgpr_write_b32 a1, [[TMP]]
45 name: lo_to_lo_sgpr_to_agpr
46 tracksRegLiveness: true
47 body:             |
48   bb.0:
49     $sgpr0 = IMPLICIT_DEF
50     $agpr1_lo16 = COPY $sgpr0_lo16
51     S_ENDPGM 0
52 ...