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

Mehdi Amini llvmlistbot at llvm.org
Mon Sep 15 07:27:04 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"]>,
----------------
joker-eph wrote:

```suggestion
    [NoMemoryEffect, AllTypesMatch<["result", "src"]>,
```

It's not clear to me that this is all speculatable with respect to the property it provides?

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


More information about the Mlir-commits mailing list