os-rust/compiler/rustc_codegen_llvm
Wesley Wiser 3780684f5a Update directly tagged enums to visualize the same as niche-layout enums
Previously, directly tagged enums had a `variant$` field which would
show the name of the active variant. We now show the variant using a
`[variant]` synthetic item just like we do for niche-layout enums.
2021-07-02 20:11:25 -04:00
..
src Update directly tagged enums to visualize the same as niche-layout enums 2021-07-02 20:11:25 -04:00
Cargo.toml rustc_codegen_llvm: Remove unused dependency rustc_incremental 2021-06-25 01:12:59 -07: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.