[all-commits] [llvm/llvm-project] 939fbe: [AMDGPU] Reduce repetition in SMEM instruction def...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Mar 30 07:09:06 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 939fbef3ea2ea75eeba12d3d166fc4de369a7247
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SMInstructions.td

  Log Message:
  [AMDGPU] Reduce repetition in SMEM instruction definitions

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.

Differential Revision: https://reviews.llvm.org/D147216

More information about the All-commits mailing list