rust/compiler/rustc_codegen_llvm
WANG Rui 855281c887 Disable f16 on LoongArch for LLVM < 21
The `f16` type works on the LoongArch target starting from LLVM 21.
However, the current minimum supported external LLVM version is 20,
so `f16` must not be enabled on LoongArch for LLVM version < 21.
2025-12-24 16:10:38 +08:00
..
src Disable f16 on LoongArch for LLVM < 21 2025-12-24 16:10:38 +08:00
Cargo.toml remove llvm_enzyme and enzyme fallbacks from most places, enable the autodiff frontend on nightly 2025-12-19 11:02:57 -08:00
messages.ftl adding proper error handling for offload 2025-12-23 05:20:11 -08: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.