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

Hal Finkel hfinkel at anl.gov
Thu Sep 12 10:21:56 PDT 2013


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

Thanks!

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

Fair enough; regardless, I'm inclined to leave it for clarity.

Thanks again,
Hal

> 
> -Andy
> 
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory




More information about the llvm-commits mailing list