mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
codegen_ssa: multiply scalable vec size by `vscale` Part of rust-lang/stdarch#2160. When emitting a `memcpy` for a scalable vector, the size computed by rustc (`num_vectors * element_count * element_ty`), since rust-lang/rust#157915, needs to be multiplied by `vscale`.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.