[Mlir-commits] [mlir] [mlir][gpu] Add `gpu.subgroup_uniform` op (PR #157743)
Krzysztof Drewniak
llvmlistbot at llvm.org
Fri Sep 12 07:28:32 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:
A lot of the code I've seen upstream uses `Arguments<>` so I figured that was local style when I started working with MLIR
https://github.com/llvm/llvm-project/pull/157743
More information about the Mlir-commits
mailing list