[Mlir-commits] [mlir] [mlir][AMDGPU] Implement gpu.subgroup_reduce with DPP intrinsics on AMD GPUs (PR #133204)

Krzysztof Drewniak llvmlistbot at llvm.org
Wed Apr 16 13:53:11 PDT 2025


================
@@ -362,6 +366,164 @@ struct VectorSubgroupReduceToShuffles final
   unsigned shuffleBitwidth = 0;
   bool matchClustered = false;
 };
+
+std::optional<Value> createSubgroupDPPReduction(OpBuilder &b, Location loc,
----------------
krzysz00 wrote:

Extremely trivial style thing: I think we might want this to be a `RewriterBase&` not an `OpBuilder&`

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


More information about the Mlir-commits mailing list