1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[AMDGPU] Added v_accvgpr_read_b32 rematerialization test. NFC.

This commit is contained in:
Stanislav Mekhanoshin 2021-07-09 12:41:11 -07:00
parent 8b29545e5c
commit bacbf6d868

View File

@ -73,6 +73,27 @@ body: |
S_ENDPGM 0
...
---
name: test_remat_v_accvgpr_read_b32
tracksRegLiveness: true
body: |
bb.0:
; GCN-LABEL: name: test_remat_v_accvgpr_read_b32
; GCN: renamable $vgpr0 = V_ACCVGPR_READ_B32_e64 undef $agpr0, implicit $exec
; GCN: renamable $vgpr1 = V_ACCVGPR_READ_B32_e64 undef $agpr0, implicit $exec
; GCN: S_NOP 0, implicit killed renamable $vgpr0
; GCN: S_NOP 0, implicit killed renamable $vgpr1
; GCN: renamable $vgpr0 = V_ACCVGPR_READ_B32_e64 undef $agpr0, implicit $exec
; GCN: S_NOP 0, implicit killed renamable $vgpr0
; GCN: S_ENDPGM 0
%0:vgpr_32 = V_ACCVGPR_READ_B32_e64 undef $agpr0, implicit $exec
%1:vgpr_32 = V_ACCVGPR_READ_B32_e64 undef $agpr0, implicit $exec
%2:vgpr_32 = V_ACCVGPR_READ_B32_e64 undef $agpr0, implicit $exec
S_NOP 0, implicit %0
S_NOP 0, implicit %1
S_NOP 0, implicit %2
S_ENDPGM 0
...
---
name: test_remat_v_accvgpr_write_b32
tracksRegLiveness: true
body: |