[Mlir-commits] [mlir] [mlir][linalg] Add Linalg::generateScalarImplementation (PR #128816)
Han-Chung Wang
llvmlistbot at llvm.org
Wed Feb 26 10:13:16 PST 2025
hanhanW wrote:
> If this some initial step to make linalg.pack and linalg.unpack support MemRef, then could we start with a higher-level GitHub issue (or Discourse thread) outlining the high level steps?
I missed this part, so linalg.pack and linalg.unpack op do not support MemRef now? I thought that all the linalg ops support both tensor and memref. So I asked the author help upstream the rest of implementation (about memref version) from IREE to the upstream.
@ita9naiwa Re tests, we need to check the memref support first. Then you can follow the [IREE tests](https://github.com/iree-org/iree/blob/1aff06df0a70b454fea33278bee00705291cdadc/compiler/src/iree/compiler/Dialect/LinalgExt/Transforms/test/convert_to_loops.mlir#L736-L739) and add the tests to [loops.mlir](https://github.com/llvm/llvm-project/blob/main/mlir/test/Dialect/Linalg/loops.mlir).
https://github.com/llvm/llvm-project/pull/128816
More information about the Mlir-commits
mailing list