Files
rust/compiler/rustc_codegen_llvm
Jonathan Brouwer a63c406423 Rollup merge of #160660 - folkertdev:sparc-va-arg, r=saethlin
c-variadic: use `emit_ptr_va_arg` for `va_arg` on `sparc`

I've built GCC for the target and validated pretty extensively that this works. Using our helper does generate worse code for `i64` unfortunately, I've reported that as https://github.com/llvm/llvm-project/issues/214594. But, given that this is a tier-3 target etc. I don't think it makes sense to go out of our way to do better, we can just wait for LLVM to resolve that issue.
2026-09-04 09:44:45 +02:00
..
2026-08-31 20:48:05 +02: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.