[all-commits] [llvm/llvm-project] c5e443: clang/AMDGPU: Emit atomicrmw for __builtin_amdgcn_...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Aug 2 08:44:12 PDT 2024
Branch: refs/heads/users/arsenm/amdgpu-clang-emit-atomicrmw-builtin-global-atomic-fadd
Home: https://github.com/llvm/llvm-project
Commit: c5e443b414500bf383cb3438d39a7b8277f650dd
https://github.com/llvm/llvm-project/commit/c5e443b414500bf383cb3438d39a7b8277f650dd
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 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: eaceaf620af3ce80a05f41f5272ec8545efba759
https://github.com/llvm/llvm-project/commit/eaceaf620af3ce80a05f41f5272ec8545efba759
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 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/81f345d6741a...eaceaf620af3
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