[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:34:37 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:

Ah, missed the PR description. The change is fixing a bug. Still would be helpful to add a test case for the bug that is getting fixed unless there is already a test.

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


More information about the Mlir-commits mailing list