[Mlir-commits] [mlir] [MLIR][XeGPU] Add uniform values distribution pattern (PR #176737)

Artem Kroviakov llvmlistbot at llvm.org
Mon Jan 26 03:18:29 PST 2026


================
@@ -1208,6 +1213,71 @@ struct LoadDistribution final : public gpu::WarpDistributionPattern {
   }
 };
 
+// Sink SG-uniform ops. An op is uniform if any of the following is none
+// of its operands/results has a distribution layout attribute.
+// Non-uniform vectors are handled by dedicated patterns.
+// This pattern must have a higher priority than distribution patterns,
----------------
akroviakov wrote:

Moved `SinkUniformOps` pattern to the pattern group that overrides the regular vector distribution.

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


More information about the Mlir-commits mailing list