[Mlir-commits] [mlir] [MLIR][XeGPU] Matrix load/store subgroup distribution (PR #165008)
Jianhui Li
llvmlistbot at llvm.org
Thu Oct 30 22:00:36 PDT 2025
================
@@ -562,6 +562,8 @@ class LoadStoreMatrixToXeVMPattern : public OpConversionPattern<OpType> {
VectorType valOrResVecTy = dyn_cast<VectorType>(data.getType());
if (!valOrResVecTy)
valOrResVecTy = VectorType::get(1, data.getType());
+ if (valOrResVecTy.getShape().size() != 1)
----------------
Jianhui-Li wrote:
If user uses stride=[1, 32] in the memory layout, then user should able to reason sg_layout = [16, 1].
https://github.com/llvm/llvm-project/pull/165008
More information about the Mlir-commits
mailing list