[mlir] Move Conversion/StandardToStandard to Dialect/StandardOps/Transforms/FuncConve...
authorAlex Zinenko <zinenko@google.com>
Tue, 12 May 2020 22:30:54 +0000 (00:30 +0200)
committerAlex Zinenko <zinenko@google.com>
Tue, 12 May 2020 22:33:25 +0000 (00:33 +0200)
commit473bdaf2e81aef06514586e82e5e697ceabb7aa6
tree6d315451c73e5b075891dfdd38525e0924c39a4f
parent99d60a1d0b35d6b8eda827351de6dd73f7a3dffe
[mlir] Move Conversion/StandardToStandard to Dialect/StandardOps/Transforms/FuncConversions

Conversion/ folders were originally intended to store patterns for
DialectA->DialectB conversions that depend on both dialects and do not
conceptually belong to either of the dialects. As such, DialectA->DialectA
conversion does not make sense under Conversion/ and should rather live with
the dialect it operates on.

Differential Revision: https://reviews.llvm.org/D79569
mlir/include/mlir/Dialect/StandardOps/Transforms/FuncConversions.h [moved from mlir/include/mlir/Conversion/StandardToStandard/StandardToStandard.h with 72% similarity]
mlir/lib/Conversion/CMakeLists.txt
mlir/lib/Conversion/StandardToStandard/CMakeLists.txt [deleted file]
mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
mlir/lib/Dialect/StandardOps/Transforms/FuncConversions.cpp [moved from mlir/lib/Conversion/StandardToStandard/StandardToStandard.cpp with 93% similarity]
mlir/test/lib/Dialect/Test/CMakeLists.txt
mlir/test/lib/Dialect/Test/TestPatterns.cpp
mlir/test/lib/Transforms/CMakeLists.txt