fix: 寄存器分配支持高位寄存器槽

This commit is contained in:
2026-08-11 12:37:56 +08:00
parent fab06a233d
commit 2287f9f4ce
6 changed files with 235 additions and 48 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ fn smoke(src: &str) {
for s in &m.spills {
assert!(slots.insert(s.slot), "spill slot {} 重复", s.slot);
}
assert!(m.phys_peak <= 253, "phys_peak {} 超 253", m.phys_peak);
assert!(m.phys_peak <= 254, "phys_peak {} 超 254", m.phys_peak);
}
fn is_precolored(ir: &oxide_ir::IRFunction, c: u32) -> bool {