[Mlir-commits] [mlir] [MLIR][NVVM] Adds an explicit aligned boolean attribute to nvvm.barrier (PR #192203)

Durgadoss R llvmlistbot at llvm.org
Wed Apr 15 07:05:21 PDT 2026


================
@@ -2943,6 +2943,22 @@ bool BarrierOp::isCompatibleReturnTypes(TypeRange l, TypeRange r) {
   return isCompatibleReturnTypesOptionalResult(l, r);
 }
 
+/// Folds `nvvm.barrier id = %c0` (constant zero) into the form with
+/// `barrierId` omitted.
----------------
durga4github wrote:

We were planning to remove the `nvvm.barrier0` Op.
So, I am wondering what motivates this?

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


More information about the Mlir-commits mailing list