Files
rust/compiler/rustc_codegen_llvm
Jonathan Brouwer ff1eba137a Rollup merge of #160696 - durin42:llvm-24-nvptx-subtarget-rename, r=folkertdev
rustc_codegen_llvm: handle sm_101* features being an alias

LLVM 24 [moved sm_101{,a,f} features](https://github.com/llvm/llvm-project/pull/214335) to just be an alias for the matching sm_110 feature. Since the sm_110 feature already exists, we can do the remapping unconditionally rather than gating it on LLVM 24.

@rustbot label: +llvm-main
2026-08-08 00:38:37 +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.