This is an archive of the discontinued LLVM Phabricator instance.

[MachineScheduler] Add itinerary to schedcover.py. Make default work in the command line filter
ClosedPublic

Authored by craig.topper on Mar 23 2018, 10:47 AM.

Details

Summary

This patch adds itinerary support to the schedcover.py script. I've been trying to use this script to figure out why SSE and AVX instructions are ending up in separate tablegen scheduler classes and sometimes its because we are using different itineraries.

Rather than using None to indicate the default scheduler model, I now use the string "default". I had to hack around the sorting a little to keep "default" at the beginning. But this also makes it so you can specify "default" on the command line to just get the defaults

I also the regular expression code so that the no_default wasn't evaluated twice.

Diff Detail

Event Timeline

craig.topper created this revision.Mar 23 2018, 10:47 AM
craig.topper edited the summary of this revision. (Show Details)
javed.absar accepted this revision.Mar 26 2018, 2:29 PM
This revision is now accepted and ready to land.Mar 26 2018, 2:29 PM
This revision was automatically updated to reflect the committed changes.