[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
================
@@ -546,7 +547,8 @@ struct UnrollPrefetchOp : public UnrollPattern<xegpu::PrefetchOp> {
Location loc = op.getLoc();
xegpu::TensorDescType tdescTy = op.getTensorDescType();
- if (!tdescTy.isScattered())
+ // TODO: handle the unstructure source case (!tdesTy)
+ if (!tdescTy || !tdescTy.isScattered())
----------------
adam-smnk wrote:
Doesn't layout propagation need checks too?
https://github.com/llvm/llvm-project/pull/150576
More information about the Mlir-commits
mailing list