[all-commits] [llvm/llvm-project] 0f03b2: [mlir] Add redundant copy removal transform
Ehsan Toosi via All-commits
all-commits at lists.llvm.org
Fri Jul 3 06:45:03 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0f03b2bfda977a913036180584f636ecb4c8ef2a
https://github.com/llvm/llvm-project/commit/0f03b2bfda977a913036180584f636ecb4c8ef2a
Author: Ehsan Toosi <ehsan.nadjaran_toosi at dfki.de>
Date: 2020-07-03 (Fri, 03 Jul 2020)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/include/mlir/Interfaces/CMakeLists.txt
A mlir/include/mlir/Interfaces/CopyOpInterface.h
A mlir/include/mlir/Interfaces/CopyOpInterface.td
M mlir/include/mlir/Transforms/Passes.h
M mlir/include/mlir/Transforms/Passes.td
M mlir/lib/Interfaces/CMakeLists.txt
A mlir/lib/Interfaces/CopyOpInterface.cpp
M mlir/lib/Transforms/CMakeLists.txt
A mlir/lib/Transforms/CopyRemoval.cpp
A mlir/test/Transforms/copy-removal.mlir
Log Message:
-----------
[mlir] Add redundant copy removal transform
This pass removes redundant dialect-independent Copy operations in different
situations like the following:
%from = ...
%to = ...
... (no user/alias for %to)
copy(%from, %to)
... (no user/alias for %from)
dealloc %from
use(%to)
Differential Revision: https://reviews.llvm.org/D82757
More information about the All-commits
mailing list