Files
rust/compiler/rustc_codegen_llvm
Jacob Pratt 731d820cde Rollup merge of #158899 - scottmcm:better-volatile-store, r=saethlin
Fix `unaligned_volatile_store` by removing `MemFlags::UNALIGNED`

Fixes https://github.com/rust-lang/rust/issues/158897

There seems to be no reason to have this flag at all, as anything that wants it should just adjust the https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/mir/place/struct.PlaceValue.html#structfield.align instead.

r? codegen
2026-07-10 02:49:30 -04:00
..
2026-06-24 23:18:10 +01:00
…

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.