Skip to content

Loop storing byte value + byte undef isn't turned into a memset #118210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
clubby789 opened this issue Dec 1, 2024 · 0 comments
Open

Loop storing byte value + byte undef isn't turned into a memset #118210

clubby789 opened this issue Dec 1, 2024 · 0 comments

Comments

@clubby789
Copy link
Contributor

Rust issue: rust-lang/rust#101685
Godbolt

This could be turned into a memset, but instead stays as a loop individually storing each byte.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants