Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DispatchCreation] Run preprocessing before elementwise fusion (#18920)
I think it makes sense to run `FusionPreprocessingPass` before `ElementwiseOpFusionPass` because it helps put the IR in a better state for fusion (e.g. interchanging `linalg.generic` indexing maps). But also, reshapes have been propagated to the edges of the program, which allows the `GatherFusionPattern` to be more effective. Fixes compilation error from #17226 (comment). --------- Signed-off-by: Ian Wood <[email protected]>
- Loading branch information