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

Charitha Saumya llvmlistbot at llvm.org
Fri Jan 23 16:49:12 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,
----------------
charithaintc wrote:

why this is the case? Can't we always the check the presence of layouts, and apply conditionally?

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


More information about the Mlir-commits mailing list