about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2023-12-12 18:48:51 -0800
committerGitHub <noreply@github.com>2023-12-12 18:48:51 -0800
commita33f1a3d3af81aad8215dc3fc0f958e8c636da0e (patch)
tree7d59f6d01682f5331b2d8866cf63920f24650288 /compiler/rustc_codegen_llvm/src/errors.rs
parent2d1d443d7f868ea5bf3880d929ea1c66172f243d (diff)
parent95b5a80f47fa30a594985f36eab87d1ccbd0435a (diff)
downloadrust-a33f1a3d3af81aad8215dc3fc0f958e8c636da0e.tar.gz
rust-a33f1a3d3af81aad8215dc3fc0f958e8c636da0e.zip
Rollup merge of #118864 - farnoy:masked-load-store-fixes, r=workingjubilee
Fix alignment passed down to LLVM for simd_masked_load

Follow up to #117953

The alignment for a masked load operation should be that of the element/lane, not the vector as a whole

It can produce miscompilations after the LLVM optimizer notices the higher alignment and promotes this to an unmasked, aligned load followed up by blend/select - https://rust.godbolt.org/z/KEeGbevbb
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions