[Mlir-commits] [mlir] [MLIR][XeGPU] Allow load/store/prefetch uses [memref+offset] instead of tdesc (PR #150576)

Adam Siemieniuk llvmlistbot at llvm.org
Wed Jul 30 05:40:46 PDT 2025


================
@@ -667,6 +707,13 @@ LogicalResult LoadGatherOp::verify() {
   auto maskTy = getMaskType();
   auto valueTy = getValueType();
 
+  if (tdescTy && !tdescTy.isScattered())
+    return emitOpError("Expects a scattered TensorDesc.\n");
----------------
adam-smnk wrote:

nit: I don't think `emitOpError` string needs new line at the end

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


More information about the Mlir-commits mailing list