Address CTFE perf regression introduced by #71005 #71463
Labels
A-const-eval
Area: Constant evaluation (MIR interpretation)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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.
The text was updated successfully, but these errors were encountered: