gottesmm added a comment. I think that my response via email did not hit phabriactor. So sorry for the delay.
Yes there is a forthcoming patch for CodeGen which will place an attribute on the relevant functions. The attribute will be queried in the middle end optimizer. The reason why there has been a bit of a delay is I realized I wanted to talk to a few more people about this attribute internally. We may want to expand its use to essentially mean "no-arc", i.e. this is a c function that uses pure c-code. There are other possibilities as well so stay tuned. http://reviews.llvm.org/D16708 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits