[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
commit024e5408969fe52db567c2a4e02fb15487c30ba0
authorIvan Kosarev <ivan.kosarev@amd.com>
Wed, 14 Jun 2023 10:53:12 +0000 (14 11:53 +0100)
committerIvan Kosarev <ivan.kosarev@amd.com>
Wed, 14 Jun 2023 11:10:56 +0000 (14 12:10 +0100)
tree60e7b3d6479f9fb4c00a2d24054a5c60ef27cca8
parent6c03f402f79774ba5a4eb8d968f2cc6435d589a7
[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.

Removes the need to add and remove them manually depending on whether
they are used in cvt*() functions. Also removes the compiler warnings
about unused handlers when it happens to be the case.

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

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D151688
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.td