This is an archive of the discontinued LLVM Phabricator instance.

[MiSched|TableGen] : Tidy up and modernise. NFC.
ClosedPublic

Authored by javed.absar on Sep 12 2017, 9:19 AM.

Details

Summary

Replacing with range-based loop and substituting 'using'.
I had to choose a lot of element-names and some choices may not be so great, so am looking for suggestions for better ones.

Diff Detail

Event Timeline

javed.absar created this revision.Sep 12 2017, 9:19 AM
MatzeB accepted this revision.Sep 12 2017, 9:58 AM
MatzeB added a subscriber: MatzeB.

LGTM with nitpicks.

utils/TableGen/CodeGenSchedule.cpp
165

Seeing that the list is called ProcRecords I would expect a single element being called ProcRecord.

206

Variant instead of SVDef?

300–301

remove the comments

464–465

remove the comments

1825

call the variable Transition?

This revision is now accepted and ready to land.Sep 12 2017, 9:58 AM
This revision was automatically updated to reflect the committed changes.