Files
rust/compiler/rustc_codegen_llvm
Jacob Pratt 95adef7b5c Rollup merge of #158364 - heiher:loong-asm-simd, r=wesleywiser
rustc_target/asm: add LoongArch LSX/LASX inline asm register support

Add support for LoongArch LSX and LASX registers in inline assembly by introducing the `vreg` and `xreg` register classes, along with their associated vector types and operand modifiers. The new register classes are gated behind the `asm_experimental_reg` feature. Also model the overlap between FPU, LSX, and LASX registers so register conflict checking works correctly for aliased registers.
2026-07-01 17:42:28 -04:00
..
2026-06-24 23:18:10 +01: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.