Files
rust/compiler/rustc_target
Stuart Cook df44e396c0 Rollup merge of #153302 - CathalMullan:rbx, r=Amanieu
x86: reserve `bl` and `bh` registers to match `rbx`

`bl` and `bh` need to be explicitly marked as reserved, as they are sub-registers of `rbx`, which is reserved by LLVM.

Discovered this while trying to run Graviola through Cranelift, which was becoming corrupted due to the register allocator assigning `bl`: https://github.com/rust-lang/rustc_codegen_cranelift/pull/1629

cc: @bjorn3
2026-03-04 11:54:08 +11:00
..
2025-09-12 20:53:28 +02:00

rustc_target contains some very low-level details that are specific to different compilation targets and so forth.

For more information about how rustc works, see the rustc dev guide.