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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Apr 16 21:19:33 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.
----------------
xys-syx wrote:

https://github.com/llvm/llvm-project/pull/188630#event-24159847073 I make the changes according to @ftynse review suggestions
And I plan to close that PR, so I move the canonicalization pattern to this PR.

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


More information about the Mlir-commits mailing list