rust/compiler/rustc_codegen_llvm
Jonathan Brouwer b66ead827c
Rollup merge of #152020 - Sa4dUs:offload-remove-dummy-loads, r=ZuseZ4
Remove dummy loads on offload codegen

The current logic generates two dummy loads to prevent some globals from being optimized away. This blocks memtransfer loop hoisting optimizations, so it's time to remove them.

r? @ZuseZ4
2026-02-05 08:32:45 +01:00
..
src Rollup merge of #152020 - Sa4dUs:offload-remove-dummy-loads, r=ZuseZ4 2026-02-05 08:32:45 +01:00
Cargo.toml Convert to inline diagnostics in all codegen backends 2026-02-04 13:12:49 +00: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.