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

jahanian fjahanian at apple.com
Thu Nov 10 09:02:39 PST 2011


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