This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Remove unnecessary canonicalization from Linalg Detensorize.cpp
ClosedPublic

Authored by pifon2a on Dec 16 2021, 11:34 AM.

Details

Summary

After https://reviews.llvm.org/D115821 it became possible to create
tensor<elem_type> with a single tensor.from_elements operation
without collapsing tensor shape from tensor<1xelem_type> to
tensor<elem_type>.

Diff Detail

Event Timeline

pifon2a created this revision.Dec 16 2021, 11:34 AM
pifon2a requested review of this revision.Dec 16 2021, 11:34 AM
This revision is now accepted and ready to land.Dec 16 2021, 11:35 AM