[all-commits] [llvm/llvm-project] 5d0e9d: [AMDGPU][GlobalISel] Add support for global atomic...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Mar 31 03:15:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d0e9ddfa512ea3b2dd500e7abe93af30c1d9e11
      https://github.com/llvm/llvm-project/commit/5d0e9ddfa512ea3b2dd500e7abe93af30c1d9e11
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-atomicrmw-fadd-global.mir
    A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-atomicrmw-fadd-local.mir
    R llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-atomicrmw-fadd.mir

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Add support for global atomicrmw fadd

This includes gfx908 which only has a no-return version of the
global_atomic_add_f32 instruction, using the same hack that was
previously implemented for selecting from the
llvm.amdgcn.global.atomic.fadd intrinsic.

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




More information about the All-commits mailing list