[all-commits] [llvm/llvm-project] 25ea24: AMDGPU: Handle legal v2f16/v2bf16 atomicrmw fadd f...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Jun 15 00:55:44 PDT 2024


  Branch: refs/heads/users/arsenm/amdgpu-legalize-vector-atomicrmw-fadd-global-flat
  Home:   https://github.com/llvm/llvm-project
  Commit: 25ea24e27f6278783ab24255c4b91f6e9e9cc39c
      https://github.com/llvm/llvm-project/commit/25ea24e27f6278783ab24255c4b91f6e9e9cc39c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-agent.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-fp-vector.ll

  Log Message:
  -----------
  AMDGPU: Handle legal v2f16/v2bf16 atomicrmw fadd for global/flat

Unlike the existing fadd cases, choose to ignore the requirement for
amdgpu-unsafe-fp-atomics in case of fine-grained memory access. This
is to minimize migration pain to the new atomic control metadata. This
should not break any users, as the atomic intrinsics are still
directly consumed, and clang does not yet produce vector FP atomicrmw.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list