Skip to content

Function inlining pass #1030

@feds01

Description

@feds01

Another powerful optimisation pass which any serious compiler will perform.

The function inlining pass will attempt to small functions into other functions to avoid the "cost" of a call.

There is no definitive answer to when a function should be inlined in or not, it often depends on a number of heuristics and cost-optimisation approaches.

Metadata

Metadata

Assignees

Labels

codegenIssues related with code generation on any backendloweringRelated to the general lowering of AST into simpler AST and/or IRs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions