[Mlir-commits] [mlir] [MLIR][XeGPU] refine verifier for TensorDescType (PR #137226)

Chao Chen llvmlistbot at llvm.org
Mon Apr 28 11:56:42 PDT 2025


================
@@ -30,6 +31,61 @@ void XeGPUDialect::initialize() {
       >();
 }
 
+bool XeGPUDialect::isEvenlyDistributable(llvm::ArrayRef<int64_t> shape,
+                                         xegpu::LayoutAttr attr) {
+  assert(attr && "Layout attribute is missing.");
+
+  auto getSubShapeOrNull =
----------------
chencha3 wrote:

Fixed

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


More information about the Mlir-commits mailing list