[PATCH] D23679: MachineScheduler: Make some GenericScheduler member variables protected

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 19 09:51:20 PDT 2016


tstellarAMD added a comment.

In https://reviews.llvm.org/D23679#520360, @atrick wrote:

> 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.


https://reviews.llvm.org/D23679





More information about the llvm-commits mailing list