[all-commits] [llvm/llvm-project] 52525c: [mlir][linalg][NFC] Make reshape folding control m...
Thomas via All-commits
all-commits at lists.llvm.org
Thu May 6 10:12:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52525cb20ff300d634453fdb3986adf4801f205c
https://github.com/llvm/llvm-project/commit/52525cb20ff300d634453fdb3986adf4801f205c
Author: thomasraoux <thomasraoux at google.com>
Date: 2021-05-06 (Thu, 06 May 2021)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
Log Message:
-----------
[mlir][linalg][NFC] Make reshape folding control more fine grain
This expose a lambda control instead of just a boolean to control unit
dimension folding.
This however gives more control to user to pick a good heuristic.
Folding reshapes helps fusion opportunities but may generate sub-optimal
generic ops.
Differential Revision: https://reviews.llvm.org/D101917
More information about the All-commits
mailing list