[all-commits] [llvm/llvm-project] dbf9be: [mlir][Linalg] Add a hoistPaddingOnTensors transfo...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Mon Jan 25 04:47:10 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dbf9bedf40792cf8c5492a27b61809737793b9c7
https://github.com/llvm/llvm-project/commit/dbf9bedf40792cf8c5492a27b61809737793b9c7
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Hoisting.h
M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
A mlir/test/Dialect/Linalg/hoist-padding.mlir
M mlir/test/lib/Transforms/TestLinalgTransforms.cpp
Log Message:
-----------
[mlir][Linalg] Add a hoistPaddingOnTensors transformation
This transformation anchors on a padding op whose result is only used as an input
to a Linalg op and pulls it out of a given number of loops.
The result is a packing of padded tailes of ops that is amortized just before
the outermost loop from which the pad operation is hoisted.
Differential revision: https://reviews.llvm.org/D95243
More information about the All-commits
mailing list