[Mlir-commits] [mlir] [MLIR][AMDGPU] Add a wrapper for global LDS load intrinsics in AMDGPU (PR #133498)

Krzysztof Drewniak llvmlistbot at llvm.org
Tue Apr 1 16:42:28 PDT 2025


================
@@ -459,6 +461,29 @@ LogicalResult DPPOp::verify() {
   return success();
 }
 
+LogicalResult GlobalLoadLDSOp::verify() {
+  MemRefType srcType = cast<MemRefType>(getSrc().getType());
+  MemRefType dstType = cast<MemRefType>(getDst().getType());
+
+  if (!memref::isStaticShapeAndContiguousRowMajor(srcType) ||
----------------
krzysz00 wrote:

This isn't a requirement on the source type.

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


More information about the Mlir-commits mailing list