[Mlir-commits] [mlir] [MLIR][XeGPU][XeVM] create_nd_tdesc: use correct pitch from strides. (PR #170384)

Sang Ik Lee llvmlistbot at llvm.org
Fri Dec 5 13:02:17 PST 2025


================
@@ -179,11 +178,10 @@ class CreateNdDescToXeVMPattern
     Value baseAddr;
     Value baseShapeW;
     Value baseShapeH;
-    Value offsetW;
-    Value offsetH;
 
     // Source can be a memref or a pointer (ui64, ui32, i64 or i32).
     SmallVector<OpFoldResult> mixedSizes = op.getMixedSizes();
+    SmallVector<OpFoldResult> mixedStrides = op.getMixedStrides();
----------------
silee2 wrote:

Yes. The PR does not address the issue of Dynamic memrefs. Dynamic memref will be handled in a separate PR. 

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


More information about the Mlir-commits mailing list