This is an archive of the discontinued LLVM Phabricator instance.

MachineScheduler: Make some GenericScheduler member variables protected
ClosedPublic

Authored by tstellarAMD on Aug 18 2016, 10:44 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to MachineScheduler: Make some GenericScheduler member variables protected.
tstellarAMD updated this object.
tstellarAMD added reviewers: MatzeB, atrick.
tstellarAMD added a subscriber: llvm-commits.
MatzeB accepted this revision.Aug 18 2016, 11:00 AM
MatzeB edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Aug 18 2016, 11:00 AM
atrick edited edge metadata.Aug 18 2016, 6:21 PM

Whatever works for you. I was thinking custom schedulers would use composition of utilities rather than inheriting the whole set of heuristics. It comes down to whether you want someone tuning the GenericScheduler to impact performance on your target. They will have no way to evaluate it.

Whatever works for you. I was thinking custom schedulers would use composition of utilities rather than inheriting the whole set of heuristics. It comes down to whether you want someone tuning the GenericScheduler to impact performance on your target. They will have no way to evaluate it.

The custom heuristics are working well for us so far, I just needed a way to have better control over the register pressure limits.

This revision was automatically updated to reflect the committed changes.