rust/compiler/rustc_codegen_llvm
2025-11-21 14:16:12 +00:00
..
src Introduce InlineAsmError type 2025-11-21 14:16:12 +00:00
Cargo.toml Make llvm_enzyme a regular cargo feature 2025-09-15 15:31:56 +00:00
messages.ftl provide an error if an autodiff user does not set in their Cargo.toml 2025-11-11 23:44:06 -05:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03: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.