This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix AsmPrinter for types with sub elements
ClosedPublic

Authored by vinograd47 on Oct 11 2021, 4:59 AM.

Details

Summary

Call printType(subElemType) instead of os << subElemType for them.
It allows to handle type aliases inside complex types.

As a side effect, fixed test.int parsing.

Diff Detail

Event Timeline

vinograd47 created this revision.Oct 11 2021, 4:59 AM
vinograd47 requested review of this revision.Oct 11 2021, 4:59 AM

Nice! LGTM but I'd like River to have another look at it.
Thanks.

rriddle accepted this revision.Oct 11 2021, 10:38 AM
This revision is now accepted and ready to land.Oct 11 2021, 10:38 AM
This revision was automatically updated to reflect the committed changes.