[AMDGPU] Use subreg encoding instead of reassign
authorJoe Nash <Joseph.Nash@amd.com>
Thu, 10 Mar 2022 17:25:11 +0000 (12:25 -0500)
committerJoe Nash <Joseph.Nash@amd.com>
Thu, 10 Mar 2022 17:50:29 +0000 (12:50 -0500)
commitc8e6d68a9f155f4b51f9de5f51e01170ced7af6c
treef40c703fe1ab415e3184dae5118cd6e2c1c14acf
parent11407c58a20e40a39b45e9aee13aa82e11745cc9
[AMDGPU] Use subreg encoding instead of reassign

The HWEncoding for these 64 bit registers should be the same as as the
encoding for the previously defined low halves of the registers. So
reuse that value instead of repeating the assignment. NFC.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D121391
llvm/lib/Target/AMDGPU/SIRegisterInfo.td