Commit 9ff44af
committed
codegen_ssa: multiply scalable vec size by
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`.vscale
1 parent f516eb4 commit 9ff44af
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1459 | 1459 | | |
1460 | 1460 | | |
1461 | 1461 | | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1462 | 1466 | | |
1463 | 1467 | | |
1464 | 1468 | | |
| |||
0 commit comments