Files
rust/compiler/rustc_codegen_llvm
Jonathan Brouwer 820771b662 Rollup merge of #158333 - ZuseZ4:typetrees-for-enzyme3, r=oli-obk
Fix typetree generation for differentiated functions

Further improvements after https://github.com/rust-lang/rust/pull/158278
This fixes a test failure on main (encountered while working on the PR above) in `tests/codegen-llvm/autodiff/autodiffv2.rs`.

Further improvements are split out into https://github.com/rust-lang/rust/pull/158440, with high-level docs available in https://github.com/rust-lang/rustc-dev-guide/pull/2911
Also noticed that I can (probably?) remove the llvm_enzyme cfg at this point, https://github.com/rust-lang/rust/pull/158460
2026-07-07 22:26:58 +02: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.