[Mlir-commits] [mlir] [MLIR][XeGPU] Refactor isEvenlyDistributable() to Layout attribute interface (PR #191945)

Artem Kroviakov llvmlistbot at llvm.org
Wed Apr 15 05:27:07 PDT 2026


================
@@ -954,6 +1002,13 @@ LogicalResult StoreScatterOp::verify() {
   if (memTy && (getElementType() != memTy.getElementType()))
     return emitError() << "Value should have the same element type as MemRef.";
 
+  if (getAnchorLayout()) {
----------------
akroviakov wrote:

+1. Also, `isDistributable` takes a `SmallVector<int64_t>`, why not feed `getShapeOf(valueTy)` directly into it or change the signature in favor of `ArrayRef`?

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


More information about the Mlir-commits mailing list