diff options
author | Ingo Müller <ingomueller@google.com> | 2023-09-04 08:28:57 +0000 |
---|---|---|
committer | Ingo Müller <ingomueller@google.com> | 2023-09-04 11:32:14 +0000 |
commit | ea4a5127c49d01e7415054e9ebeb813c98159810 (patch) | |
tree | 0ac8fdd1e4e0bb9cf9f86998cb004d581426a6d9 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | d5946fd3ede076131b811f7133dca9144ac660a2 (diff) | |
download | llvm-ea4a5127c49d01e7415054e9ebeb813c98159810.zip llvm-ea4a5127c49d01e7415054e9ebeb813c98159810.tar.gz llvm-ea4a5127c49d01e7415054e9ebeb813c98159810.tar.bz2 |
[mlir][linalg][transform][python] Refactor TileOp mix-in.
This patch simplifies and improves the mix-in of the `TileOp`. In
particular:
* Accept all types of sizes (static, dynamic, scalable) in a single
argument `sizes`.
* Use the existing convenience function to dispatch different types of
sizes instead of repeating the implementation in the mix-in.
* Pass on `None` values as is of optional arguments to the init function
of the super class.
* Reformat with default indentation width (4 spaces vs 2 spaces).
* Add a a test for providing scalable sizes.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D159417
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions