[Mlir-commits] [mlir] [MLIR][XeGPU] Fix layout inference issues blocking MXFP_GEMM test (PR #196243)

Jianhui Li llvmlistbot at llvm.org
Thu May 7 14:57:48 PDT 2026


Jianhui-Li wrote:

> Btw, is there any reason we still use
> 
> ```c++
>   xegpu::DistributeLayoutAttr sourceLayout =
>         xegpu::getDistributeLayoutAttr(op.getVector());
> ```
> 
> and not
> 
> ```c++
>     xegpu::DistributeLayoutAttr sourceLayout =
>         xegpu::getTemporaryLayout(op->getOpOperand(0));
> ```
> 
> for vector transpose at wg-to-sg?

I don't think there is any need to use getDistributeLayoutAttr() now. Should be cleaned in the future

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


More information about the Mlir-commits mailing list