[Mlir-commits] [mlir] [MLIR][XeGPU] Add uArch limitation to scatter load store (PR #172845)

Artem Kroviakov llvmlistbot at llvm.org
Thu Jan 15 07:08:01 PST 2026


================
@@ -1220,7 +1264,8 @@ static LogicalResult updateOp(mlir::OpBuilder &builder, mlir::Operation *op,
     }
     // If the result is a vector type, add a temporary layout attribute to the
     // op.
-    xegpu::setDistributeLayoutAttr(result, layout);
+    if (!isa<xegpu::LoadGatherOp>(op))
----------------
akroviakov wrote:

Removed the `if`, since the `setDistributeLayoutAttr()` is already interface-aware.

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


More information about the Mlir-commits mailing list