diff options
author | Ian Wood <75152913+IanWood1@users.noreply.github.com> | 2024-08-14 13:58:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 13:58:35 -0700 |
commit | a95ad2da36b6a996b05c79df6b385cd98bac286d (patch) | |
tree | de7d03c6a2dd3b9a39d8999921f50edf1babe0a3 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | f6e3dbc27daceed4b96a353dce75a6a3e15b4fdd (diff) | |
download | llvm-a95ad2da36b6a996b05c79df6b385cd98bac286d.zip llvm-a95ad2da36b6a996b05c79df6b385cd98bac286d.tar.gz llvm-a95ad2da36b6a996b05c79df6b385cd98bac286d.tar.bz2 |
[mlir] Add bubbling patterns for non intersecting reshapes (#103401)
Refactored @Max191's PR https://github.com/llvm/llvm-project/pull/94637
to move it to `Tensor`
From the original PR
>This PR adds fusion by expansion patterns to push a tensor.expand_shape
up through a tensor.collapse_shape with non-intersecting reassociations.
Sometimes parallel collapse_shape ops like this can block propagation of
expand_shape ops, so this allows them to pass through each other.
I'm not sure if I put the code/tests in the right places, so let me know
where those go if they aren't.
cc @MaheshRavishankar @hanhanW
---------
Co-authored-by: Max Dawkins <max.dawkins@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions