[Mlir-commits] [mlir] [MLIR][XeGPU] Update XeGPU create_tdesc, update_offset, load, store and prefetch. (PR #154653)

Chao Chen llvmlistbot at llvm.org
Fri Aug 22 09:13:19 PDT 2025


================
@@ -89,13 +82,18 @@ isValidGatherScatterParams(Type maskTy, VectorType valueTy,
   if (!tdescTy.isScattered())
     return emitError() << "Expects a scattered TensorDesc.";
 
-  if (!valueTy)
-    return emitError() << "Expecting a vector type result.";
+  auto chunkSize = tdescTy.getChunkSizeAsInt();
----------------
chencha3 wrote:

Since support for scattered TensorDesc is removed, is this method still needed?

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


More information about the Mlir-commits mailing list