[Mlir-commits] [mlir] [ROCDL] Add the global.atomic.fadd intrinsic in ROCDL (PR #94486)

Krzysztof Drewniak llvmlistbot at llvm.org
Wed Jun 5 08:27:09 PDT 2024


================
@@ -534,6 +534,19 @@ def ROCDL_RawBufferAtomicFAddOp :
   let hasCustomAssemblyFormat = 1;
 }
 
+def ROCDL_GlobalAtomicFAddOp :
+  ROCDL_Op<"global.atomic.fadd">,
+  Arguments<(ins LLVM_Type:$ptr,
----------------
krzysz00 wrote:

and so you don't have to give the pointer type in the assembly format instead of doing a custom thing

https://github.com/llvm/llvm-project/pull/94486


More information about the Mlir-commits mailing list