Bump regalloc2 to 0.6.0 (#5742)
* Bump regalloc2 * Certify regalloc2 0.6.0
This commit is contained in:
@@ -25,7 +25,7 @@ serde = { version = "1.0.94", features = ["derive"], optional = true }
|
||||
bincode = { version = "1.2.1", optional = true }
|
||||
gimli = { workspace = true, features = ["write"], optional = true }
|
||||
smallvec = { workspace = true }
|
||||
regalloc2 = { version = "0.5.1", features = ["checker"] }
|
||||
regalloc2 = { version = "0.6.0", features = ["checker"] }
|
||||
souper-ir = { version = "2.1.0", optional = true }
|
||||
sha2 = { version = "0.10.2", optional = true }
|
||||
# It is a goal of the cranelift-codegen crate to have minimal external dependencies.
|
||||
|
||||
@@ -27,7 +27,7 @@ use crate::trace;
|
||||
use crate::CodegenError;
|
||||
use crate::ValueLocRange;
|
||||
use regalloc2::{
|
||||
Edit, Function as RegallocFunction, InstOrEdit, InstRange, Operand, OperandKind, PReg, PRegSet,
|
||||
Edit, Function as RegallocFunction, InstOrEdit, InstRange, Operand, OperandKind, PRegSet,
|
||||
RegClass, VReg,
|
||||
};
|
||||
|
||||
@@ -1316,10 +1316,6 @@ impl<I: VCodeInst> RegallocFunction for VCode<I> {
|
||||
&self.debug_value_labels[..]
|
||||
}
|
||||
|
||||
fn is_pinned_vreg(&self, vreg: VReg) -> Option<PReg> {
|
||||
pinned_vreg_to_preg(vreg)
|
||||
}
|
||||
|
||||
fn spillslot_size(&self, regclass: RegClass) -> usize {
|
||||
self.abi.get_spillslot_size(regclass) as usize
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user