[all-commits] [llvm/llvm-project] c8e6d6: [AMDGPU] Use subreg encoding instead of reassign

Joe Nash via All-commits all-commits at lists.llvm.org
Thu Mar 10 10:13:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8e6d68a9f155f4b51f9de5f51e01170ced7af6c
      https://github.com/llvm/llvm-project/commit/c8e6d68a9f155f4b51f9de5f51e01170ced7af6c
  Author: Joe Nash <Joseph.Nash at amd.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.td

  Log Message:
  -----------
  [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




More information about the All-commits mailing list