rust/compiler/rustc_codegen_llvm
Jubilee a33f1a3d3a
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
2023-12-12 18:48:51 -08:00
..
src Rollup merge of #118864 - farnoy:masked-load-store-fixes, r=workingjubilee 2023-12-12 18:48:51 -08:00
Cargo.toml Update itertools to 0.11. 2023-11-22 08:13:21 +11:00
messages.ftl warn when using an unstable feature with -Ctarget-feature 2023-11-06 09:44:00 +01:00
README.md

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc dev guide.