Open
Description
In an effort to treat the return place _0
more closely to regular locals, #71005 has removed some optimizations that avoid allocating memory for locals when there's only a return place. This regresses the CTFE stress test by around 8%.
It would be good to gain the lost performance back. #71005 (comment) contains some ideas for how to do that.
Metadata
Metadata
Assignees
Labels
Area: Constant evaluation, covers all const contexts (static, const fn, ...)Category: An issue proposing an enhancement or a PR with one.Category: An issue highlighting optimization opportunities or PRs implementing suchIssue: Problems and improvements with respect to compile times.Relevant to the compiler team, which will review and decide on the PR/issue.