]> granicus.if.org Git - llvm/commit
[AMDGPU] Allow register tuples to set asm names
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Fri, 19 Jul 2019 18:05:01 +0000 (18:05 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Fri, 19 Jul 2019 18:05:01 +0000 (18:05 +0000)
commit5aa8056ade061625d9c329fbfcae3a35afd5f4e3
treefe35a0642a2f72437996e984dd9e0976c50a5e54
parentf78dd7c570a163dda8122846be9d025ac78e6b3d
[AMDGPU] Allow register tuples to set asm names

This change reverts most of the previous register name generation.
The real problem is that RegisterTuple does not generate asm names.
Added optional operand to RegisterTuple. This way we can simplify
register name access and dramatically reduce the size of static
tables for the backend.

Differential Revision: https://reviews.llvm.org/D64967

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366598 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/Target.td
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
lib/Target/AMDGPU/SIRegisterInfo.cpp
lib/Target/AMDGPU/SIRegisterInfo.td
utils/TableGen/CodeGenRegisters.cpp