[Mlir-commits] [mlir] [mlir][NVVM] Add support for barrier0 operation with predicate (PR #167036)
Guray Ozen
llvmlistbot at llvm.org
Sat Nov 8 03:17:13 PST 2025
================
@@ -977,6 +977,54 @@ def NVVM_Barrier0Op : NVVM_Op<"barrier0"> {
}];
}
+// Attrs describing the predicate of barrier0 operation.
+def Barrier0PredPopc : I32EnumAttrCase<"POPC", 0, "popc">;
+def Barrier0PredAnd : I32EnumAttrCase<"AND", 1, "and">;
+def Barrier0PredOr : I32EnumAttrCase<"OR", 2, "or">;
+
+def Barrier0Pred
----------------
grypp wrote:
We plan to deprecate nvvm.barrier0 OP since nvvm.barrier is superset of it.
https://github.com/llvm/llvm-project/pull/167036
More information about the Mlir-commits
mailing list