[Mlir-commits] [mlir] [mlir][GPU] Extend gpu.barrier with scope and named-barrier support (PR #195692)

Fabian Mora llvmlistbot at llvm.org
Wed May 6 05:51:22 PDT 2026


================
@@ -51,6 +51,14 @@ class AsyncTokenType
   static constexpr StringLiteral name = "gpu.async_token";
 };
 
+class NamedBarrierType
+    : public Type::TypeBase<NamedBarrierType, Type, TypeStorage> {
+public:
+  using Base::Base;
+
+  static constexpr StringLiteral name = "gpu.named_barrier";
+};
+
----------------
fabianmcg wrote:

Why do you define it in C++ and not td?

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


More information about the Mlir-commits mailing list