[Mlir-commits] [mlir] [mlir][NVVM] Add support for barrier0 operation with predicate (PR #167036)
Guray Ozen
llvmlistbot at llvm.org
Mon Nov 10 03:28:26 PST 2025
================
@@ -1007,31 +1025,36 @@ def NVVM_BarrierOp : NVVM_Op<"barrier", [AttrSizedOperandSegments]> {
[For more information, see PTX ISA](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-bar)
}];
- let arguments = (ins
- Optional<I32>:$barrierId,
- Optional<I32>:$numberOfThreads);
+ let arguments = (ins Optional<I32>:$barrierId, Optional<I32>:$numberOfThreads,
+ OptionalAttr<BarrierReductionAttr>:$reductionOp,
+ Optional<I32>:$reductionPredicate);
----------------
grypp wrote:
could that be bool?
https://github.com/llvm/llvm-project/pull/167036
More information about the Mlir-commits
mailing list