This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Disable fusion of tensor_reshape op by expansion when unit-dims are involved
ClosedPublic

Authored by mravishankar on Jan 13 2021, 11:42 AM.

Details

Summary

Fusion of generic/indexed_generic operations with tensor_reshape by
expansion when the latter just adds/removes unit-dimensions is
disabled since it just adds unit-trip count loops.

Diff Detail

Event Timeline

mravishankar created this revision.Jan 13 2021, 11:42 AM
mravishankar requested review of this revision.Jan 13 2021, 11:42 AM
hanchung accepted this revision.Jan 14 2021, 11:19 AM
hanchung added inline comments.
mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
365

const auto &map

This revision is now accepted and ready to land.Jan 14 2021, 11:19 AM
This revision was landed with ongoing or failed builds.Jan 22 2021, 12:55 PM
This revision was automatically updated to reflect the committed changes.