Missed optimization: fn f(a: &mut i32){ let b = *a; println!("{}", b); } #65871
Labels
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-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 Rust code: https://godbolt.org/z/HeLrx- gives more assembly than this: https://godbolt.org/z/Aji2U3
The text was updated successfully, but these errors were encountered: