rust/compiler/rustc_codegen_llvm
Paul Murphy b54b288518 Allow PowerPC spe_acc as clobber-only register
This register is only supported on the *powerpc*spe targets. It is
only recognized by LLVM. gcc does not accept this as a clobber, nor
does it support these targets.

This is a volatile register, thus it is included with clobber_abi.
2025-12-03 12:37:22 -06:00
..
src Allow PowerPC spe_acc as clobber-only register 2025-12-03 12:37:22 -06:00
Cargo.toml Only try to link against offload functions if llvm.enzyme is enabled 2025-11-23 00:19:53 -08:00
messages.ftl Implement offload intrinsic 2025-11-25 20:04:27 +01: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.