[PATCH] D151688: [AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 29 23:47:06 PDT 2023


kosarev created this revision.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
kosarev requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151688

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151688.526526.patch
Type: text/x-patch
Size: 9971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230530/55ea81ff/attachment.bin>


More information about the llvm-commits mailing list