mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 17:40:16 +00:00
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
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.