[LLVMdev] Notice for out-of-tree maintainer: RegisterScheduler::setDefault removed

Mehdi Amini mehdi.amini at apple.com
Tue Jul 28 07:58:31 PDT 2015


Hi all,

Just a notice for out-of-tree maintainer, I removed RegisterScheduler::setDefault in r243388. It was used to override the default command line option that selects the DAG scheduler to use. 

Instead of hacking into the command line plumbing, a target that wants more control over the selection of the scheduler than it already has with setSchedulingPreference has a SubTargetHook “getDAGScheduler” that can be overridden. The original motivation for this change was to remove some mutable global state.

— 
Mehdi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150728/c3471a5e/attachment.html>


More information about the llvm-dev mailing list