Files
rust/compiler/rustc_codegen_llvm
bors 40557f6225 Auto merge of #158419 - jhpratt:rollup-38sJqWx, r=jhpratt
Rollup of 10 pull requests

Successful merges:

 - rust-lang/rust#158410 (Update LLVM for Mach-O __LINKEDIT alignment fix.)
 - rust-lang/rust#157397 (cmse: clear padding when crossing the secure boundary)
 - rust-lang/rust#158036 (Add -Zinstrument-mcount=fentry to -Zinstrument-mcount)
 - rust-lang/rust#158330 (llvm: use intrinsics for f16, f32 minimum/maximum)
 - rust-lang/rust#158359 (fix(tests): allow either branch direction in ilog_known_base)
 - rust-lang/rust#158067 (LLVM 23: Adapt codegen test to moved assume)
 - rust-lang/rust#158261 (Move part of the target checking for `#[may_dangle]` to the parser)
 - rust-lang/rust#158358 (Fix invalid E0609 raw pointer deref suggestion inside macros)
 - rust-lang/rust#158392 (delegation: add tests for defaults and infers in generics)
 - rust-lang/rust#158394 (Generate synthetic generic args only for delegation's child segment)
2026-06-25 22:48:30 +00: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.