[Mlir-commits] [mlir] [llvm][mlir] Atomic Control Options Support (PR #140932)
Krzysztof Drewniak
llvmlistbot at llvm.org
Wed May 21 14:58:52 PDT 2025
================
@@ -2164,12 +2164,18 @@ def LLVM_AtomicRMWOp : LLVM_MemAccessOpBase<"atomicrmw", [
LLVM_AtomicRMWType:$val, AtomicOrdering:$ordering,
OptionalAttr<StrAttr>:$syncscope,
OptionalAttr<I64Attr>:$alignment,
- UnitAttr:$volatile_);
+ UnitAttr:$volatile_,
+ UnitAttr:$amdgpu_no_fine_grained_memory,
+ UnitAttr:$amdgpu_ignore_denormal_mode,
+ UnitAttr:$amdgpu_no_remote_memory);
// Append the aliasing related attributes defined in LLVM_MemAccessOpBase.
let arguments = !con(args, aliasAttrs);
let results = (outs LLVM_AtomicRMWType:$res);
let assemblyFormat = [{
- (`volatile` $volatile_^)? $bin_op $ptr `,` $val
+ (`volatile` $volatile_^)?
+ (`amdgpu_ignore_denormal_mode` $amdgpu_ignore_denormal_mode^)?
----------------
krzysz00 wrote:
Or given that they're a bit obscure and platform-dependent, they could probably just live in the `attr-dict`
https://github.com/llvm/llvm-project/pull/140932
More information about the Mlir-commits
mailing list