[Mlir-commits] [mlir] [mlir][AMDGPU] Allow non-contiguous destination memrefs for gather_to_lds (PR #152559)
Alan Li
llvmlistbot at llvm.org
Thu Aug 7 10:56:26 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");
-
----------------
lialan wrote:
If we want to still check that it is still subgroup contiguous, we might still want to check that we can satisfy?
```
dstType.areTrailingDimsContiguous(subgroupRank)
```
https://github.com/llvm/llvm-project/pull/152559
More information about the Mlir-commits
mailing list