[Mlir-commits] [mlir] [mlir][gpu] Add `gpu.subgroup_uniform` op (PR #157743)

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Sep 11 13:55:05 PDT 2025


================
@@ -3255,4 +3255,37 @@ def GPU_SubgroupBroadcastOp : GPU_Op<"subgroup_broadcast",
   let hasVerifier = 1;
 }
 
+def GPU_SubgroupUniformOp : GPU_Op<"subgroup_uniform",
+    [Pure, AllTypesMatch<["result", "src"]>,
+    DeclareOpInterfaceMethods<InferIntRangeInterface, ["inferResultRanges"]>] #
+    ElementwiseMappable.traits>,
+  Arguments<(ins AnyType:$src)> {
----------------
krzysz00 wrote:

Ah

Yeah, we might want to discuss that somewhere other than PR comments

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


More information about the Mlir-commits mailing list