Bump regalloc2 to 0.6.0 (#5742)
* Bump regalloc2 * Certify regalloc2 0.6.0
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -2407,9 +2407,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "regalloc2"
|
name = "regalloc2"
|
||||||
version = "0.5.1"
|
version = "0.6.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c"
|
checksum = "abdf64625ea14dd2a89d8076aaa4059a8380163dce34b978ddda25c403afe241"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fxhash",
|
"fxhash",
|
||||||
"log",
|
"log",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ serde = { version = "1.0.94", features = ["derive"], optional = true }
|
|||||||
bincode = { version = "1.2.1", optional = true }
|
bincode = { version = "1.2.1", optional = true }
|
||||||
gimli = { workspace = true, features = ["write"], optional = true }
|
gimli = { workspace = true, features = ["write"], optional = true }
|
||||||
smallvec = { workspace = 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 }
|
souper-ir = { version = "2.1.0", optional = true }
|
||||||
sha2 = { version = "0.10.2", optional = true }
|
sha2 = { version = "0.10.2", optional = true }
|
||||||
# It is a goal of the cranelift-codegen crate to have minimal external dependencies.
|
# 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::CodegenError;
|
||||||
use crate::ValueLocRange;
|
use crate::ValueLocRange;
|
||||||
use regalloc2::{
|
use regalloc2::{
|
||||||
Edit, Function as RegallocFunction, InstOrEdit, InstRange, Operand, OperandKind, PReg, PRegSet,
|
Edit, Function as RegallocFunction, InstOrEdit, InstRange, Operand, OperandKind, PRegSet,
|
||||||
RegClass, VReg,
|
RegClass, VReg,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1316,10 +1316,6 @@ impl<I: VCodeInst> RegallocFunction for VCode<I> {
|
|||||||
&self.debug_value_labels[..]
|
&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 {
|
fn spillslot_size(&self, regclass: RegClass) -> usize {
|
||||||
self.abi.get_spillslot_size(regclass) as usize
|
self.abi.get_spillslot_size(regclass) as usize
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -563,6 +563,12 @@ criteria = "safe-to-deploy"
|
|||||||
delta = "0.5.0 -> 0.5.1"
|
delta = "0.5.0 -> 0.5.1"
|
||||||
notes = "The Bytecode Alliance is the author of this crate."
|
notes = "The Bytecode Alliance is the author of this crate."
|
||||||
|
|
||||||
|
[[audits.regalloc2]]
|
||||||
|
who = "Trevor Elliott <telliott@fastly.com>"
|
||||||
|
criteria = "safe-to-deploy"
|
||||||
|
delta = "0.5.1 -> 0.6.0"
|
||||||
|
notes = "The Bytecode Alliance is the author of this crate."
|
||||||
|
|
||||||
[[audits.rustc-demangle]]
|
[[audits.rustc-demangle]]
|
||||||
who = "Alex Crichton <alex@alexcrichton.com>"
|
who = "Alex Crichton <alex@alexcrichton.com>"
|
||||||
criteria = "safe-to-deploy"
|
criteria = "safe-to-deploy"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ target-lexicon = { workspace = true, features = ["std"] }
|
|||||||
# In the next iteration we'll factor out the common bits so that they can be consumed
|
# In the next iteration we'll factor out the common bits so that they can be consumed
|
||||||
# by Cranelift and Winch.
|
# by Cranelift and Winch.
|
||||||
cranelift-codegen = { workspace = true }
|
cranelift-codegen = { workspace = true }
|
||||||
regalloc2 = "0.5.1"
|
regalloc2 = "0.6.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
x64 = ["cranelift-codegen/x86"]
|
x64 = ["cranelift-codegen/x86"]
|
||||||
|
|||||||
Reference in New Issue
Block a user