[Mlir-commits] [mlir] [MLIR][XeGPU] Allow load/store/prefetch uses [memref+offset] instead of tdesc (PR #150576)
Charitha Saumya
llvmlistbot at llvm.org
Tue Jul 29 10:53:00 PDT 2025
================
@@ -688,6 +758,15 @@ LogicalResult StoreScatterOp::verify() {
auto maskTy = getMaskType();
auto valueTy = getValueType();
+ if (tdescTy) {
+ if (!tdescTy.isScattered())
+ return emitOpError("Expects a scattered TensorDesc.\n");
+ } else {
+ if (getRankOf(getDest()) > 1)
+ return emitOpError(
+ "Expecting the dest is a 1D memref or pointer (uint64_t).");
+ }
----------------
charithaintc wrote:
check suggested code change.
https://github.com/llvm/llvm-project/pull/150576
More information about the Mlir-commits
mailing list