Decouple Linalg promotion from Linalg tiling - NFC
authorNicolas Vasilache <ntv@google.com>
Thu, 17 Oct 2019 20:40:48 +0000 (13:40 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 17 Oct 2019 20:41:17 +0000 (13:41 -0700)
commit5b03e692f6716ff4fcc4ae0887d1792562456f4b
treea3b75483a0431f5f057f11065a262cbba37bb60d
parenta560505d1adf751edfffc1cfc3c5d5e5beaf9331
Decouple Linalg promotion from Linalg tiling - NFC

This CL creates a new Linalg promotion pass that operates on SubViewOp and decouples it from Linalg tiling. This is mostly moving code around.

PiperOrigin-RevId: 275329213
mlir/include/mlir/Dialect/Linalg/Passes.h
mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
mlir/lib/Dialect/Linalg/CMakeLists.txt
mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp [new file with mode: 0644]
mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
mlir/test/Dialect/Linalg/promote.mlir
mlir/test/mlir-cpu-runner/linalg_integration_test.mlir