[Mlir-commits] [mlir] [MLIR][XeGPU][VectorToXeGPU] Add lowering from vector.gather/scatter to xegpu.load/store (PR #158024)
Dmitry Chigarev
llvmlistbot at llvm.org
Tue Sep 16 09:08:07 PDT 2025
================
@@ -97,6 +97,17 @@ static LogicalResult transferPreconditions(PatternRewriter &rewriter,
return success();
}
+// Common preconditions for the lowering of vector.gather and vector.scatter:
+// 1. Source is a memref.
+static LogicalResult gatherScatterPreconditions(PatternRewriter &rewriter,
----------------
dchigarev wrote:
there's already a test called ['no_load_tensor'](https://github.com/llvm/llvm-project/pull/158024/files#diff-626169fad27915d9ac2cf273b1d647643268ef042854043f8cdfbb00be4e8d53R141), or do you mean something else?
https://github.com/llvm/llvm-project/pull/158024
More information about the Mlir-commits
mailing list