[Mlir-commits] [mlir] [mlir][NVVM] Add nvvm.membar operation (PR #166698)
Valentin Clement バレンタイン クレメン
llvmlistbot at llvm.org
Thu Nov 6 11:59:11 PST 2025
================
@@ -1236,6 +1236,23 @@ def NVVM_FenceProxyAcquireOp : NVVM_Op<"fence.proxy.acquire">,
let hasVerifier = 1;
}
+def NVVM_MembarOp : NVVM_Op<"memory_barrier">,
+ Arguments<(ins MemScopeKindAttr:$scope)> {
+ let summary = "Memory barrier operation";
+ let description = [{
+ `membar` operation guarantees that prior memory accesses requested by this
+ thread are performed at the specified `level`, before later memory
----------------
clementval wrote:
```suggestion
thread are performed at the specified `scope`, before later memory
```
https://github.com/llvm/llvm-project/pull/166698
More information about the Mlir-commits
mailing list