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

Zhang, Andy andy.zhang at intel.com
Mon Jan 16 14:11:09 PST 2012


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.

Regards, 
Andy

> -----Original Message-----
> From: Evan Cheng [mailto:evan.cheng at apple.com]
> Sent: Monday, January 16, 2012 1:49 PM
> To: Zhang, Andy
> Cc: llvm-commits at cs.uiuc.edu
> Subject: Re: [llvm-commits] Intel Atom optimization - use LEA to adjust
> stack pointer
> 
> One comment. I think it's more natural to model this optimization as a
> subtarget attribute rather than checking for whether the processor is
> in the Atom family.
> 
> Evan
> 
> On Jan 11, 2012, at 11:37 AM, Zhang, Andy wrote:
> 
> > Ping.
> >
> > Has anyone had a chance to take a look at this?
> >
> > Regards,
> > Andy
> >





More information about the llvm-commits mailing list