[all-commits] [llvm/llvm-project] 0deeaa: [mlir] Move memref.subview patterns to MemRef/Tran...
Lei Zhang via All-commits
all-commits at lists.llvm.org
Mon Apr 12 13:43:35 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0deeaaca399b381ddccffde71c921e7636be7fdc
https://github.com/llvm/llvm-project/commit/0deeaaca399b381ddccffde71c921e7636be7fdc
Author: Lei Zhang <antiagainst at google.com>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M mlir/include/mlir/Conversion/Passes.td
M mlir/include/mlir/Conversion/StandardToSPIRV/StandardToSPIRV.h
M mlir/include/mlir/Conversion/StandardToSPIRV/StandardToSPIRVPass.h
M mlir/include/mlir/Dialect/MemRef/CMakeLists.txt
A mlir/include/mlir/Dialect/MemRef/Transforms/CMakeLists.txt
A mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
A mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td
M mlir/include/mlir/InitAllPasses.h
M mlir/lib/Conversion/StandardToSPIRV/CMakeLists.txt
R mlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
M mlir/lib/Dialect/MemRef/CMakeLists.txt
M mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
A mlir/lib/Dialect/MemRef/Transforms/CMakeLists.txt
A mlir/lib/Dialect/MemRef/Transforms/FoldSubViewOps.cpp
A mlir/lib/Dialect/MemRef/Utils/CMakeLists.txt
M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
R mlir/test/Conversion/StandardToSPIRV/legalization.mlir
R mlir/test/Conversion/StandardToSPIRV/subview-to-spirv.mlir
A mlir/test/Dialect/MemRef/fold-subview-ops.mlir
M mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
Log Message:
-----------
[mlir] Move memref.subview patterns to MemRef/Transforms/
These patterns have been used as a prerequisite step for lowering
to SPIR-V. But they don't involve SPIR-V dialect ops; they are
pure memref/vector op transformations. Given now we have a dedicated
MemRef dialect, moving them to Memref/Transforms/, which is a more
suitable place to host them, to allow used by others.
This commit just moves code around and renames patterns/passes
accordingly. CMakeLists.txt for existing MemRef libraries are
also improved along the way.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D100326
More information about the All-commits
mailing list