This is an archive of the discontinued LLVM Phabricator instance.

[tblgen][directive] Fix clause parser generation for list value
ClosedPublic

Authored by clementval on Jun 26 2023, 12:04 PM.

Details

Summary

The clause parser generation was not taking into account the
isValueList flag. This patch updates the emitter to generate
the correct code.

Diff Detail

Event Timeline

clementval created this revision.Jun 26 2023, 12:04 PM
Herald added a project: Restricted Project. · View Herald Transcript
clementval requested review of this revision.Jun 26 2023, 12:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 12:04 PM
razvanlupusoru accepted this revision.Jun 26 2023, 4:03 PM

Solution looks good to me. The name suffix of "c" is not too informative - but seems it was already suffixed with other letters. So approach seems reasonable to me.

This revision is now accepted and ready to land.Jun 26 2023, 4:03 PM
This revision was landed with ongoing or failed builds.Jun 27 2023, 11:09 AM
This revision was automatically updated to reflect the committed changes.