-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
Description
I know that inlining heuristics are a black hole. However, it seems that we're growing lots of #[inline_always]
attributes on small non-recursive functions. I have no idea what mechanism LLVM has for inlining hints (besides "always inline" annotations on a function), but telling it to always inline non-recursive functions below a certain size threshold would reduce the amount of clutter.
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.