Field ordering still causes extra memcpy #58082
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-mir-opt
Area: MIR optimizations
A-mir-opt-nrvo
Fixed by NRVO
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is similar to #56356 except this time with more fields:
gives:
vs moving capacity to the end of the struct:
The problem is reproducible with C++ so I'll file a new llvm bug too.
The text was updated successfully, but these errors were encountered: