[PATCH] D144108: [mlir][LinAlg][Transform] Add a transform op for conv2d to im2col

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 01:14:20 PST 2023


qcolombet updated this revision to Diff 498280.
qcolombet added a comment.

- Have the transform apply to the conv operation directly (as opposed to the whole function)
- Ditch the call to the greedy rewriter


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144108/new/

https://reviews.llvm.org/D144108

Files:
  mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
  mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
  mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
  mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
  mlir/lib/Dialect/Linalg/Transforms/ConvertConv2DToImg2Col.cpp
  mlir/test/Dialect/Linalg/convert-conv2d-to-img2col.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144108.498280.patch
Type: text/x-patch
Size: 46789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230217/12855f19/attachment.bin>


More information about the llvm-commits mailing list