Page MenuHomePhabricator

[MLIR][Shape] Remove empty extent tensor operands

Authored by frgossen on Apr 27 2021, 3:15 AM.



Empty extent tensor operands were only removed when they were defined as a
constant. Additionally, we can remove them if they are known to be empty by
their type tensor<0xindex>.

Depends On D101350

Diff Detail

Event Timeline

frgossen created this revision.Apr 27 2021, 3:15 AM
frgossen requested review of this revision.Apr 27 2021, 3:15 AM
pifon2a accepted this revision.Apr 27 2021, 3:19 AM
pifon2a added inline comments.


This revision is now accepted and ready to land.Apr 27 2021, 3:19 AM
frgossen updated this revision to Diff 340807.Apr 27 2021, 5:51 AM
frgossen marked an inline comment as done.

Address comment

This revision was landed with ongoing or failed builds.Apr 27 2021, 5:52 AM
This revision was automatically updated to reflect the committed changes.