• [RFC] Per-function Option Attributes Summary This RFC proposes support for specifying per-function options via attributes. • This allows passes to query function attributes for configuration values that might otherwise be set globally via command-line options or pass parameters. • This support does not require changes to existing infrastructure, or even much new functionality, as it simply uses string attributes. • In this case, “support” is better understood as the establishment of conventions governing how these attributes should be treated. • The goal of this RFC is to determine if the community supports a permissive stance towards adding these kinds of attributes and, if so, the precise form they should take. • This RFC is limited to LLVM - it does not explicitly consider frontend changes that may take advantage of these attributes.

Article Summaries:

  • Summary This RFC proposes support for specifying per-function options via attributes. This allows passes to query function attributes for configuration values that might otherwise be set globally via command-line options or pass parameters. This support does not require changes to existing infrastructure, or even much new functionality, as it simply uses string attributes. In this case, “support” is better understood as the establishment of conventions governing how these attributes should be treated. The goal of this RFC is to determine if the community supports a permissive stance towards ad

Sources: