[llvm-commits] Intel Atom optimization - use LEA to adjust stack pointer

Zhang, Andy andy.zhang at intel.com
Thu Jan 19 13:23:49 PST 2012


On Wednesday, January 18, 2012 4:35 PM, Evan Cheng wrote: 
> On Jan 16, 2012, at 2:11 PM, Zhang, Andy wrote:
> 
> > Hi Evan,
> >
> > Do you mean that this optimization should be enabled by a separate
> subtarget feature?
> > Since this optimization really only applies to the Atom, we added a
> blanket 'Atom'
> > subtarget feature, and enable Atom-specific optimizations when the
> Atom subtarget
> > feature is enabled.
> 
> Yes, that's the right way to use subtarget features. If the number of
> Atom specific optimizations get too large, then we can refactor it.
> 
> Evan
> 

OK, I will change that and resubmit the patch.

- Andy




More information about the llvm-commits mailing list