<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 2:41 AM, Andrew Trick <span dir="ltr"><<a href="mailto:atrick@apple.com" target="_blank" class="cremed">atrick@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":3ci" style="overflow:hidden">I'm briefly enabling the MachineScheduler pass for x86 tonight to collect information on any failures that may show up.<br>
<br>
To properly enable the new scheduler, this hook is implemented in X86Subtarget:<br>
<br>
bool enableMachineScheduler() const LLVM_OVERRIDE { return true; }<br>
<br>
The MachineScheduler pass itself can be enabled/disabled with -enable-misched=true/false. But most of the codegen changes result rather from moving to source-order SD scheduling and subsequent register coalescing decisions. This makes it extremely challenging to keep the unit tests functioning during the transition. So you'll see unit test churn when I flip the switch.</div>
</blockquote></div><br>This is really cool. Is there a way to provide a flag to enable the whole thing so that folks can help you test stuff in advance of making it the default? (Yes, I'm volunteering. =D)</div></div>