[PATCH] D72081: [mlir][Linalg] NFC - Cleanup Linalg Declarative Transformations

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 06:57:56 PST 2020


nicolasvasilache created this revision.
nicolasvasilache added a reviewer: ftynse.
Herald added subscribers: llvm-commits, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

This is part of an ongoing cleanup and uniformization work.

This diff performs 3 types of cleanups:

1. Uniformize transformation names.
2. Replace all pattern operands that need not be captured by `$_`
3. Replace all usage of pattern captured op by the normalized `op` name (instead of positional parameters such as `$0`)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72081

Files:
  mlir/include/mlir/Dialect/Linalg/Transforms/LinalgTransformPatterns.td
  mlir/include/mlir/Dialect/Linalg/Transforms/LinalgTransforms.h
  mlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp
  mlir/test/lib/DeclarativeTransforms/TestLinalgTransformPatterns.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72081.235867.patch
Type: text/x-patch
Size: 15819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200102/8eee0588/attachment.bin>


More information about the llvm-commits mailing list