[PATCH] D147216: [AMDGPU] Reduce repetition in SMEM instruction definitions

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 04:27:46 PDT 2023


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

This tries to remove all cases where we repeat the instruction name as
both an identifier (the tablegen name) and as a string (the assembler/
disassembler name). It uses tablegen's new !tolower operator.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147216

Files:
  llvm/lib/Target/AMDGPU/SMInstructions.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147216.509609.patch
Type: text/x-patch
Size: 51217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230330/10947095/attachment.bin>


More information about the llvm-commits mailing list