Files
rust/compiler/rustc_codegen_llvm
Waffle Lapkin 6d2f74f4dc Emit llvm dereferenceable in more cases on newer LLVM versions
Specifically on llvm >= 23.0.0 emit llvm `dereferenceable` attribute even
without `nofree`, since new semantics allow that.
2026-09-30 11:23:49 +02:00
..
2026-08-31 20:48:05 +02: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.