This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Relax restriction on name location parsing
ClosedPublic

Authored by jpienaar on Dec 11 2021, 11:07 AM.

Details

Summary

We currently restrict parsing of location to not allow nameloc being
nested inside nameloc. This restriction may be historical as there
doesn't seem to be a reason for it anymore (locations like this can be
constructed in C++ and they print fine). Relax this restriction in the
parser to allow this nesting.

Diff Detail

Event Timeline

jpienaar created this revision.Dec 11 2021, 11:07 AM
jpienaar requested review of this revision.Dec 11 2021, 11:07 AM
rriddle accepted this revision.Dec 11 2021, 2:24 PM
This revision is now accepted and ready to land.Dec 11 2021, 2:24 PM
This revision was automatically updated to reflect the committed changes.