Remove Peepmatic!!!
Peepmatic was an early attempt at a DSL for peephole optimizations, with the idea that maybe sometime in the future we could user it for instruction selection as well. It didn't really pan out, however: * Peepmatic wasn't quite flexible enough, and adding new operators or snippets of code implemented externally in Rust was a bit of a pain. * The performance was never competitive with the hand-written peephole optimizers. It was *very* size efficient, but that came at the cost of run-time efficiency. Everything was table-based and interpreted, rather than generating any Rust code. Ultimately, because of these reasons, we never turned Peepmatic on by default. These days, we just landed the ISLE domain-specific language, and it is better suited than Peepmatic for all the things that Peepmatic was originally designed to do. It is more flexible and easy to integrate with external Rust code. It is has better time efficiency, meeting or even beating hand-written code. I think a small part of the reason why ISLE excels in these things is because its design was informed by Peepmatic's failures. I still plan on continuing Peepmatic's mission to make Cranelift's peephole optimizer passes generated from DSL rewrite rules, but using ISLE instead of Peepmatic. Thank you Peepmatic, rest in peace!
This commit is contained in:
@@ -17,14 +17,6 @@ use std::time::Duration;
|
||||
|
||||
// note that this list must be topologically sorted by dependencies
|
||||
const CRATES_TO_PUBLISH: &[&str] = &[
|
||||
// peepmatic
|
||||
"peepmatic-traits",
|
||||
"peepmatic-macro",
|
||||
"peepmatic-automata",
|
||||
"peepmatic-test-operator",
|
||||
"peepmatic-runtime",
|
||||
"peepmatic",
|
||||
"peepmatic-souper",
|
||||
// cranelift
|
||||
"isle",
|
||||
"cranelift-entity",
|
||||
@@ -461,7 +453,6 @@ fn verify(crates: &[Crate]) {
|
||||
.env("CARGO_TARGET_DIR", "./target");
|
||||
if krate.name == "witx"
|
||||
|| krate.name.contains("wasi-nn")
|
||||
|| krate.name.contains("peepmatic")
|
||||
{
|
||||
cmd.arg("--no-verify");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user