diff options
author | ofri frishman <ofri4321@gmail.com> | 2025-04-02 23:06:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-02 21:06:43 +0100 |
commit | 6f1347d57bdaed75b73b2013a96a4a69c8969ebe (patch) | |
tree | f45781cbaed8f13fdad2e91b88ddae18dafa9eb7 /clang/lib/CodeGen | |
parent | c87dc2b7d4ac0131cb97f096be522a50a4b3068b (diff) | |
download | llvm-6f1347d57bdaed75b73b2013a96a4a69c8969ebe.zip llvm-6f1347d57bdaed75b73b2013a96a4a69c8969ebe.tar.gz llvm-6f1347d57bdaed75b73b2013a96a4a69c8969ebe.tar.bz2 |
[MLIR] Bubble up tensor.extract_slice through tensor.collapse_shape (#131982)
Add a pattern that bubbles up tensor.extract_slice through
tensor.collapse_shape.
The pattern is registered in a pattern population function that is used
by the transform op
transform.apply_patterns.tensor.bubble_up_extract_slice and by the
tranform op transform.structured.fuse as a cleanup pattern.
This pattern enables tiling and fusing op chains which contain
tensor.collapse_shape if added as a cleanup pattern of tile and fuse
utility.
Without this pattern that would not be possible, as
tensor.collapse_shape does not implement the tiling interface. This is
an additional pattern to the one added in PR #126898
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions