Page MenuHomePhabricator

[TableGen][SchedModels] Simplify the code. NFC

Authored by evgeny777 on Nov 30 2020, 2:41 AM.



Patch takes advantage of having only one processor index in PredTransition which is not zero.

Diff Detail

Event Timeline

evgeny777 created this revision.Nov 30 2020, 2:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2020, 2:41 AM
evgeny777 requested review of this revision.Nov 30 2020, 2:41 AM
evgeny777 updated this revision to Diff 308308.Nov 30 2020, 3:25 AM

Also simplify CodeGenSchedTransition

dmgreen accepted this revision.Dec 4 2020, 7:51 AM

From what I can tell, this LGTM. It took a while to figure out all the changes.

This revision is now accepted and ready to land.Dec 4 2020, 7:51 AM
This revision was automatically updated to reflect the committed changes.