[cfe-commits] patch: mark selector reference loads as invariant

Peter Cooper peter_cooper at apple.com
Thu Nov 10 11:19:08 PST 2011


Ah, thanks for letting me know.  I'll change the test.

Pete

On Nov 10, 2011, at 9:02 AM, jahanian wrote:

> Not making comment on the patch as it is a back-end issue. Just one comment
> on the test that a clang test may not depend on a framework header; in this case 
> Cocoa/Cocoa.h.
> 
> - Fariborz
> 
> On Nov 9, 2011, at 3:55 PM, Peter Cooper wrote:
> 
>> The attached patch adds invariant metadata to the loads from selector references.  
>> 
>> This allows the llvm optimizer to consider these loads to be from constant data which is true here as selector references don't' change once the program has started.
>> 
>> Please review and let me know if it looks ok.
>> 
>> Thanks,
>> Pete
>> 
>> <6027699.patch>_______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> 




More information about the cfe-commits mailing list