[AMDGPU][AsmParser] Simplify the implementation of SWZ operands.
commit12460cf90fb2bbdcf7b278c641e21b453104f2b0
authorIvan Kosarev <ivan.kosarev@amd.com>
Wed, 5 Jul 2023 09:45:08 +0000 (5 10:45 +0100)
committerIvan Kosarev <ivan.kosarev@amd.com>
Wed, 5 Jul 2023 09:45:12 +0000 (5 10:45 +0100)
tree3d9cbf850cbea9fc2caa71e9210790b64c70e295
parentdac5957ca934206f4b0777e62f093b08919e36a9
[AMDGPU][AsmParser] Simplify the implementation of SWZ operands.

Those are implicit helper operands and therefore don't need any parsers
or printers.

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

Reviewed By: piotr, foad

Differential Revision: https://reviews.llvm.org/D154432
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/BUFInstructions.td
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
llvm/lib/Target/AMDGPU/SIInstrInfo.td