mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 10:37:50 +00:00
Upgrade to LLVM 14 LLVM patch state: * [x]a55727f334Backported. * [x]c3c82dc124Backported as917c47b3bf. * [x]6e8f9ab632No plan to upstream. * [x]319f4b2d52Backported. * [x]8b2c25d321No plan to upstream. * [x]75fef2efd4No plan to upstream. * [ ]adef757547Upstreamed as2d2ef384b2. Needs backport. * [x]4b7c1b4910No plan to upstream. * [x]3f5ab0c061No plan to upstream. * [x]514d05500eNo plan to upstream. * [ ]54c5869585Under review at https://reviews.llvm.org/D119695 and https://reviews.llvm.org/D119856. Release timeline: * LLVM 14.0.0 final planned for Mar 15. * Rust 1.60.0 planned for Apr 7. Compile-time: * https://perf.rust-lang.org/compare.html?start=250384edc5d78533e993f38c60d64e42b21684b2&end=b87df8d2c7c5d9ac448c585de10927ab2ee1b864 * A slight improvement on average, though no big changes either way. * There are some larger max-rss improvements. r? `@ghost`
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.