[all-commits] [llvm/llvm-project] 024e54: [AMDGPU][AsmParser][NFC] Get rid of custom default...

Ivan Kosarev via All-commits all-commits at lists.llvm.org
Wed Jun 14 04:11:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 024e5408969fe52db567c2a4e02fb15487c30ba0
      https://github.com/llvm/llvm-project/commit/024e5408969fe52db567c2a4e02fb15487c30ba0
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td

  Log Message:
  -----------
  [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




More information about the All-commits mailing list