[Mlir-commits] [mlir] [MLIR][NVVM] Adds an explicit aligned boolean attribute to nvvm.barrier (PR #192203)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Apr 26 22:12:32 PDT 2026
================
@@ -1179,16 +1183,20 @@ def NVVM_BarrierOp : NVVM_SingleResultIntrinsicOp<"barrier",
let results = (outs Optional<I32>:$res);
let hasVerifier = 1;
+ let hasCanonicalizeMethod = 1;
let assemblyFormat =
"(`id` `=` $barrierId^)? (`number_of_threads` `=` $numberOfThreads^)? "
+ "custom<Aligned>($aligned) "
----------------
xys-syx wrote:
@grypp Hello, could you please share your thoughts?
https://github.com/llvm/llvm-project/pull/192203
More information about the Mlir-commits
mailing list