[llvm] r252282 - Add a new attribute: norecurse

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 16:23:15 PST 2016


On Fri, Nov 6, 2015 at 2:32 AM, James Molloy via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: jamesm
> Date: Fri Nov  6 04:32:53 2015
> New Revision: 252282
>
> URL: http://llvm.org/viewvc/llvm-project?rev=252282&view=rev
> Log:
> Add a new attribute: norecurse
>
> This attribute allows the compiler to assume that the function never recurses into itself, either directly or indirectly (transitively). This can be used among other things to demote global variables to locals.

Something for the release notes?

Cheers,
Hans


More information about the llvm-commits mailing list