[all-commits] [llvm/llvm-project] 8e3dfc: clang/AMDGPU: Emit atomicrmw for __builtin_amdgcn_...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 23 09:52:45 PDT 2024


  Branch: refs/heads/users/arsenm/amdgpu-clang-emit-atomicrmw-builtin-global-atomic-fadd
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e3dfc335301d978d3d22110a6db8f98fc636b4d
      https://github.com/llvm/llvm-project/commit/8e3dfc335301d978d3d22110a6db8f98fc636b4d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
    M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx12.cl
    M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
    M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl

  Log Message:
  -----------
  clang/AMDGPU: Emit atomicrmw for __builtin_amdgcn_global_atomic_fadd_{f32|f64}

Need to emit syncscope and new metadata to get the native instruction,
most of the time.


  Commit: 9a338be6274d3109c7e9c51f4e85dd111f9a1e15
      https://github.com/llvm/llvm-project/commit/9a338be6274d3109c7e9c51f4e85dd111f9a1e15
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
    M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx12.cl
    M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx8.cl
    M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
    M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl

  Log Message:
  -----------
  Use monotonic ordering


Compare: https://github.com/llvm/llvm-project/compare/4a5ab0e5f4cb...9a338be6274d

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