[PATCH] D16708: Add a new attribute CFNoRelease.

Michael Gottesman via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 31 19:11:28 PST 2016

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.


More information about the cfe-commits mailing list