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

Jianhui Li llvmlistbot at llvm.org
Wed Apr 15 10:56:57 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()) {
----------------
Jianhui-Li wrote:

"Changing the signature in favor of ArrayRef" is a good suggestion. Most of these interface function requires revisit to use ArrayRef instead of SmallVector.  For this one, I try to change it but it calls other function using smallvector so it is not a big gain. 

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


More information about the Mlir-commits mailing list