[all-commits] [llvm/llvm-project] cce3cd: [AMDGPU][MC][NFC] MUBUF/MTBUF code cleanup

Piotr Sobczak via All-commits all-commits at lists.llvm.org
Wed Dec 21 01:09:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cce3cd203e6665f5cd5de5e024b73ecea05dd63d
      https://github.com/llvm/llvm-project/commit/cce3cd203e6665f5cd5de5e024b73ecea05dd63d
  Author: Piotr Sobczak <Piotr.Sobczak at amd.com>
  Date:   2022-12-21 (Wed, 21 Dec 2022)

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

  Log Message:
  -----------
  [AMDGPU][MC][NFC] MUBUF/MTBUF code cleanup

Refactor code to reduce code duplication and improve maintainability.

- Extract BUF_Pseudo common base class
- Refactor getMUBUFInsDA
- Refactor getMUBUFAtomicInsDA
- Refactor getMTBUFInsDA
- Refactor getMUBUFAsmOps
- Refactor getMTBUFAsmOps

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




More information about the All-commits mailing list