Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inlining Heuristics #242

Open
problame opened this issue Feb 7, 2019 · 1 comment
Open

Inlining Heuristics #242

problame opened this issue Feb 7, 2019 · 1 comment
Labels
optimization 💪 New optimization feature P-high
Projects

Comments

@problame
Copy link
Contributor

problame commented Feb 7, 2019

It is crucial to have some inlining heuristic:

  • call frequency from libfirm
  • node count
  • cyclo-complexity to avoid repeated inlining of too complicated control flow
    • this seems to be a legit problem, evaluated that with HW performance counters
  • feedback from register allocation about register pressure
@problame problame created this issue from a note in Endspurt (Todo Optimization) Feb 7, 2019
@problame problame added optimization 💪 New optimization feature P-high labels Feb 7, 2019
@flip1995
Copy link
Contributor

for starters we can use the [no]inline attributes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization 💪 New optimization feature P-high
Projects
Endspurt
  
Todo Optimization
Development

No branches or pull requests

2 participants