[Mlir-commits] [mlir] [mlir][NVVM] Add nvvm.membar operation (PR #166698)
Durgadoss R
llvmlistbot at llvm.org
Fri Nov 7 03:00:40 PST 2025
================
@@ -291,6 +291,24 @@ static unsigned getUnidirectionalFenceProxyID(NVVM::ProxyKind fromProxy,
llvm_unreachable("Unsupported proxy kinds");
}
+static unsigned getMembarIntrinsicID(NVVM::MemScopeKind scope) {
+ switch (scope) {
+ case NVVM::MemScopeKind::CTA: {
+ return llvm::Intrinsic::nvvm_membar_cta;
+ }
----------------
durga4github wrote:
nit: we do not need these braces for each `case` statement.
https://github.com/llvm/llvm-project/pull/166698
More information about the Mlir-commits
mailing list