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

Sang Ik Lee llvmlistbot at llvm.org
Thu May 7 10:31:57 PDT 2026


================
@@ -1003,6 +1006,7 @@ xegpu::DistributeLayoutAttr xegpu::setupBitCastResultLayout(
   int resElemTyBitWidth = resVecTy.getElementType().getIntOrFloatBitWidth();
 
   ArrayRef<int64_t> srcShape = srcVecTy.getShape();
+  ArrayRef<int64_t> resShape = resVecTy.getShape();
----------------
silee2 wrote:

Many places that used `srcShape` now uses `resShape` which doesn't look like a trivial change.
Can you add a unit test that tests the updated logic?

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


More information about the Mlir-commits mailing list