[cfe-dev] [RFC] add Function Attribute to disable optimization

jahanian fjahanian at apple.com
Mon Jun 17 11:18:25 PDT 2013


On Jun 17, 2013, at 11:12 AM, Jeffrey Walton <noloader at gmail.com> wrote:

> On Mon, Jun 17, 2013 at 1:59 PM, jahanian <fjahanian at apple.com> wrote:
>> Wouldn’t implementing this proposal be a red herring? By this I mean, it is
>> possible that
>> throughout the optimization phases, there is an implied assumption that all
>> functions
>> are similarly optimized. An example would be under certain optimization
>> flag, compiler changes
>> calling convention of static functions.
> Forgive my ignorance, but aren't all functions in the compilation unit
> optimized at the same level? It does not matter if its a user supplied
> command line or a makefile recipe.

Yes. This proposal wants to change this.
- Fariborz

> 
> Jeff
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130617/9577310a/attachment.html>


More information about the cfe-dev mailing list