Refactor the LowerVectorTransfers pass to use the RewritePattern infra - NFC
authorNicolas Vasilache <ntv@google.com>
Thu, 14 Nov 2019 23:39:36 +0000 (15:39 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 14 Nov 2019 23:40:07 +0000 (15:40 -0800)
commit0b271b7dfe285064b8b237d18bfc923212e7a77b
tree3783613205ec9f87106a6fa7f730e22f97d91745
parenta78bd84cf84c00914f48781fa0c561cbb6bdf847
Refactor the LowerVectorTransfers pass to use the RewritePattern infra - NFC

This is step 1/n in refactoring infrastructure along the Vector dialect to make it ready for retargetability and composable progressive lowering.

PiperOrigin-RevId: 280529784
12 files changed:
mlir/include/mlir/Conversion/VectorConversions/VectorConversions.h [moved from mlir/include/mlir/Conversion/VectorToLLVM/VectorToLLVM.h with 74% similarity]
mlir/include/mlir/Transforms/Passes.h
mlir/lib/Conversion/CMakeLists.txt
mlir/lib/Conversion/VectorConversions/CMakeLists.txt [moved from mlir/lib/Conversion/VectorToLLVM/CMakeLists.txt with 74% similarity]
mlir/lib/Conversion/VectorConversions/VectorToLLVM.cpp [moved from mlir/lib/Conversion/VectorToLLVM/VectorToLLVM.cpp with 98% similarity]
mlir/lib/Conversion/VectorConversions/VectorToLoops.cpp [moved from mlir/lib/Transforms/LowerVectorTransfers.cpp with 90% similarity]
mlir/lib/Dialect/Linalg/Transforms/LowerToLLVMDialect.cpp
mlir/lib/Transforms/CMakeLists.txt
mlir/test/Conversion/VectorConversions/lower_vector_transfers.mlir [moved from mlir/test/Transforms/Vectorize/lower_vector_transfers.mlir with 99% similarity]
mlir/test/Conversion/VectorConversions/vector-to-llvm.mlir [moved from mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir with 100% similarity]
mlir/test/lib/Transforms/CMakeLists.txt
mlir/test/lib/Transforms/TestLowerVectorTransfers.cpp [new file with mode: 0644]