Unix: Unnecessary copies for promoted struct arguments #6318
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
enhancement
Product code improvement that does NOT require public API changes/additions
optimization
os-linux
Linux OS (any supported distro)
tenet-performance
Performance related issue
Milestone
If an struct argument is promoted to registers, the codegen cannot handle this and copies should be generated in
fgMorphArgs
. It is desired to avoid copies and make the codegen copy struct directly to outgoing argument area.Disabling the following code in `fgMorphArgs' can reproduce the problem.
The text was updated successfully, but these errors were encountered: