[PATCH] D34596: [X86]: Adding a new priority function 'guided-src' for Scheduler DAG instruction scheduling.

Jatin Bhateja via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 04:59:41 PDT 2017


jbhateja added a comment.

In https://reviews.llvm.org/D34596#827110, @RKSimon wrote:

> I'm not a scheduler expert so I don't think I can approve this. I have an additional concern - you've added a new scheduler just for one bug - will it ever get used?


This is not a new sheduler , its a new priority selector, we have several priority selectors like source order based, bottom up register reduction, hybrid . These priority selector pick the next instruction to be scheduled in the next cycle out of available candidates.

This new priority selector adds another heuristic which is to pick the instruction out of ready to schdule list whose operands have already been scheduled.

It will extend the list of already existing priority selectors which user can select using -pre-RA-sched option.

Thanks


https://reviews.llvm.org/D34596





More information about the llvm-commits mailing list