[llvm] [AMDGPU] Update comment about coop atomics ordering. NFC (PR #160463)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 01:24:28 PDT 2025
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/160463
None
>From d0ca0e222f9162f861b1eb0f2c8dcf43d5b73bb9 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: Wed, 24 Sep 2025 01:23:40 -0700
Subject: [PATCH] [AMDGPU] Update comment about coop atomics ordering. NFC
---
llvm/include/llvm/IR/IntrinsicsAMDGPU.td | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
index afce1fe6af854..50888b3d9b6d5 100644
--- a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -3808,6 +3808,7 @@ class AMDGPUCooperativeAtomicLoad<LLVMType Ty> : Intrinsic <
[SDNPMemOperand, SDNPMayLoad]
>;
+// TODO: We may want to drop _relaxed and use an atomic ordering operand instead.
def int_amdgcn_cooperative_atomic_load_32x4B : AMDGPUCooperativeAtomicLoad<llvm_i32_ty>;
def int_amdgcn_cooperative_atomic_store_32x4B : AMDGPUCooperativeAtomicStore<llvm_i32_ty>;
def int_amdgcn_cooperative_atomic_load_16x8B : AMDGPUCooperativeAtomicLoad<llvm_v2i32_ty>;
More information about the llvm-commits
mailing list