[all-commits] [llvm/llvm-project] 1e790b: [mlir][Linalg] Replace SimplePad with PadTensor in...
Han-Chung Wang via All-commits
all-commits at lists.llvm.org
Thu Jan 28 11:11:14 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e790b745d7e3b0c79deec2de202a4de7e7a66c3
https://github.com/llvm/llvm-project/commit/1e790b745d7e3b0c79deec2de202a4de7e7a66c3
Author: Hanhan Wang <hanchung at google.com>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Hoisting.h
M mlir/lib/Analysis/SliceAnalysis.cpp
M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
M mlir/test/Dialect/Linalg/hoist-padding.mlir
M mlir/test/Dialect/Linalg/roundtrip.mlir
M mlir/test/lib/Transforms/TestLinalgTransforms.cpp
Log Message:
-----------
[mlir][Linalg] Replace SimplePad with PadTensor in hoist-padding
This is the last revision to migrate using SimplePadOp to PadTensorOp, and the
SimplePadOp is removed in the patch. Update a bit in SliceAnalysis because the
PadTensorOp takes a region different from SimplePadOp. This is not covered by
LinalgOp because it is not a structured op.
Also, remove a duplicated comment from cpp file, which is already described in a
header file. And update the pseudo-mlir in the comment.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D95615
More information about the All-commits
mailing list