Open
Description
Edit: initial attempt at reducing the scope led to an incorrect example, updating with the motivating example.
https://rust.godbolt.org/z/g4imX-
The above shadow on line 119 let position_deltas = position_deltas;
results in a series of vmovups, but should be optimized to a noop.
Metadata
Metadata
Assignees
Labels
Area: MIR optimizationsFixed by the Named Return Value Opt. (NRVO)Category: An issue proposing an enhancement or a PR with one.Category: An issue highlighting optimization opportunities or PRs implementing suchCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleIssue: Problems and improvements with respect to performance of generated code.Relevant to the compiler team, which will review and decide on the PR/issue.