[llvm] r190558 - Enable MI scheduling (and CodeGen AA) by default for embedded PPC cores

Andrew Trick atrick at apple.com
Thu Sep 12 09:58:10 PDT 2013


On Sep 11, 2013, at 4:05 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> Author: hfinkel
> Date: Wed Sep 11 18:05:25 2013
> New Revision: 190558
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=190558&view=rev
> Log:
> Enable MI scheduling (and CodeGen AA) by default for embedded PPC cores
> 
> For embedded PPC cores (especially the A2 core), using the MI scheduler with AA
> is far superior to the other scheduling options.

Awesome. I still need to take a closer look at the scheduling trace you sent when time permits...

> -  setSchedulingPreference(Sched::Hybrid);
> +  if (Subtarget->enableMachineScheduler())
> +    setSchedulingPreference(Sched::Source);
> +  else
> +    setSchedulingPreference(Sched::Hybrid);

I don’t think this is necessary since enableMachineScheduler forces the default scheduler to Source.

-Andy





More information about the llvm-commits mailing list