[all-commits] [llvm/llvm-project] f59cb4: [AMDGPU] Select buffer_atomic_cmpswap* in tblgen

Abinav Puthan Purayil via All-commits all-commits at lists.llvm.org
Wed Mar 16 21:43:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f59cb41ba1f79380024400461561c1c259da4bb1
      https://github.com/llvm/llvm-project/commit/f59cb41ba1f79380024400461561c1c259da4bb1
  Author: Abinav Puthan Purayil <abinav.puthanpurayil at amd.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-atomic-cmpxchg-global.mir

  Log Message:
  -----------
  [AMDGPU] Select buffer_atomic_cmpswap* in tblgen

This change replaces the manual selection of buffer_atomic_cmpswap*
instructions in SelectionDAG and GlobalISel with a tblgen based
selection in BUFInstructions.td. This allows us to select the return and
no-return variants in tblgen.

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




More information about the All-commits mailing list