This is an archive of the discontinued LLVM Phabricator instance.

Add a policy to enable computing SchedDFSResult.
ClosedPublic

Authored by rudkx on Apr 18 2020, 11:03 AM.

Details

Summary

Make GenericScheduler compute SchedDFSResult on initialization if
the policy is set. This makes it possible to create classes
that extend GenericScheduler and rely on the results of SchedDFSResult,
e.g. to perform subtree scheduling.

NFC unless the policy is set.

Diff Detail

Event Timeline

rudkx created this revision.Apr 18 2020, 11:03 AM
qcolombet accepted this revision.Apr 22 2020, 12:48 PM
This revision is now accepted and ready to land.Apr 22 2020, 12:48 PM
This revision was automatically updated to reflect the committed changes.