[Mlir-commits] [mlir] [mlir][NVVM] Add support for barrier0 operation with predicate (PR #167036)
Guray Ozen
llvmlistbot at llvm.org
Sat Nov 8 03:20:48 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">;
----------------
grypp wrote:
In PTX, this is "red.popc" and there is no mention of predication. The predication is a different concept in PTX so nvvm dialect. Let's keep the names same as PTX
https://github.com/llvm/llvm-project/pull/167036
More information about the Mlir-commits
mailing list