[Mlir-commits] [mlir] [mlir][AMDGPU] Allow non-contiguous destination memrefs for gather_to_lds (PR #152559)

Quinn Dawkins llvmlistbot at llvm.org
Thu Aug 7 12:15:52 PDT 2025


================
@@ -518,9 +518,6 @@ LogicalResult GatherToLDSOp::verify() {
   MemRefType srcType = cast<MemRefType>(getSrc().getType());
   MemRefType dstType = cast<MemRefType>(getDst().getType());
 
-  if (!dstType.areTrailingDimsContiguous(dstType.getRank()))
-    return emitOpError("destination types must be contiguous");
-
----------------
qedawkins wrote:

What is subgroup dim also? I can't see anything in the op definition that would give us information about where subgroup and thread distribution starts and ends (because it can't).

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


More information about the Mlir-commits mailing list