This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Remove incorrect builders for ExpandShapeOp
ClosedPublic

Authored by ThomasRaoux on Mar 18 2022, 10:04 AM.

Details

Summary

ExpandShapeOp builder cannot infer the result type since it doesn't know
how the dimension needs to be split. Remove this builder so that it
doesn't get used accidentally. Also remove one potential path using it in
generic fusion.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Mar 18 2022, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 10:04 AM
ThomasRaoux requested review of this revision.Mar 18 2022, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 10:04 AM
nicolasvasilache added subscribers: pifon2a, herhut, tpopp.

Thanks, this was likely introduced by mistake when we went from 1 to 2 ops.
Also @tpopp @herhut @pifon2a with whom we discussed this last week.

This revision is now accepted and ready to land.Mar 18 2022, 10:30 AM
This revision was automatically updated to reflect the committed changes.