Crates.io | regalloc2 |
lib.rs | regalloc2 |
version | |
source | src |
created_at | 2021-12-03 04:44:42.997675 |
updated_at | 2024-12-02 17:49:25.648004 |
description | Backtracking register allocator inspired from IonMonkey |
homepage | |
repository | https://github.com/bytecodealliance/regalloc2 |
max_upload_size | |
id | 491567 |
Cargo.toml error: | TOML parse error at line 21, column 1 | 21 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This is a register allocator that started life as, and is about 50% still, a port of IonMonkey's backtracking register allocator to Rust. In many regards, it has been generalized, optimized, and improved since the initial port.
In addition, it contains substantial amounts of testing infrastructure (fuzzing harnesses and checkers) that does not exist in the original IonMonkey allocator.
See the design overview for (much!) more detail on how the allocator works.
This crate is licensed under the Apache 2.0 License with LLVM
Exception. This license text can be found in the file LICENSE
.
Parts of the code are derived from regalloc.rs: in particular,
src/checker.rs
and src/domtree.rs
. This crate has the same license
as regalloc.rs, so the license on these files does not differ.