[Mlir-commits] [llvm] [mlir] [XeGPU][Transform] Add XeGPU array length optimization pass (PR #194062)

Md Abdullah Shahneous Bari llvmlistbot at llvm.org
Mon May 4 08:28:10 PDT 2026


================
@@ -556,11 +556,20 @@ LogicalResult LoadNdOp::verify() {
     }
   }
 
+  // Handle array_length. Two result shape conventions are accepted:
+  //   * Legacy: leading array_length dimension prepended, e.g. descriptor
+  //     16x16 with array_length=2 -> [2, 16, 16].
----------------
mshahneo wrote:

Since, we haven't updated the Peephole to accept the 3-D  for array_length, still allowing to support that. This will be removed once, the load/transpose is removed from the Peepholeoptimizer.

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


More information about the Mlir-commits mailing list