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

Evan Cheng evan.cheng at apple.com
Wed Jan 18 13:34:41 PST 2012


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

> 
> 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
>>> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list