[all-commits] [llvm/llvm-project] db7a2e: [mlir][linalg] Only compose PadTensorOps if no Ext...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Mon Dec 13 05:08:10 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: db7a2e9176e8e9d81bf896bbd53f4b07a7af0c14
https://github.com/llvm/llvm-project/commit/db7a2e9176e8e9d81bf896bbd53f4b07a7af0c14
Author: gysit <gysit at google.com>
Date: 2021-12-13 (Mon, 13 Dec 2021)
Changed paths:
M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
M mlir/test/Dialect/Linalg/pad.mlir
Log Message:
-----------
[mlir][linalg] Only compose PadTensorOps if no ExtractSliceOp is rank-reducing.
Do not compose pad tensor operations if the extract slice of the outer pad tensor operation is rank reducing. The inner extract slice op cannot be rank-reducing since it source type must match the desired type of the padding.
Depends On D115359
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D115428
More information about the All-commits
mailing list