Stop emitting one-at-a-time byte ops when swapping byte arrays #134946
Labels
A-codegen
Area: Code generation
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
Mentioned on Discord https://discord.com/channels/273534239310479360/592856094527848449/1319367290902286367
Demo when swapping
[u8; 44]
: https://rust.godbolt.org/z/rznror9aGEspecially with opt-level 2, there's still
And in opt-level 3 it's
The text was updated successfully, but these errors were encountered: