[AMDGPU][AsmParser][NFC] Immediate operand classes to derive from custom operands.
authorIvan Kosarev <ivan.kosarev@amd.com>
Mon, 5 Jun 2023 11:40:39 +0000 (12:40 +0100)
committerIvan Kosarev <ivan.kosarev@amd.com>
Mon, 5 Jun 2023 11:40:44 +0000 (12:40 +0100)
commit9ad1a48ad77b11a1603ecede65d8a9f6bc6f1a15
treed2ce6702b1bb69f5b7e63eb6b86e003f5f152bcb
parente69448b1ea96d83bd918fe162ce29b3dddcdf166
[AMDGPU][AsmParser][NFC] Immediate operand classes to derive from custom operands.

Removes unnecessary duplication in TableGen definitions.

Part of <https://github.com/llvm/llvm-project/issues/62629>.

Reviewed By: dp

Differential Revision: https://reviews.llvm.org/D151684
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/SIInstrInfo.td