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!
76 lines
1.4 KiB
YAML
76 lines
1.4 KiB
YAML
# This file configures which paths automatically get which label on new pull
|
|
# requests.
|
|
#
|
|
# It generally has the syntax:
|
|
#
|
|
# <label 0>:
|
|
# - <glob-path 0>
|
|
# - ...
|
|
# - <glob-path n>
|
|
# ...
|
|
# <label n>:
|
|
# - <glob-path 0>
|
|
# - ...
|
|
# - <glob-path n>
|
|
#
|
|
# See https://github.com/actions/labeler for details.
|
|
#
|
|
# Note that we keep the labels in alphabetical order below.
|
|
|
|
"cranelift":
|
|
- "cranelift/**"
|
|
|
|
"cranelift:area:machinst":
|
|
- "cranelift/codegen/src/machinst/**"
|
|
|
|
"cranelift:area:aarch64":
|
|
- "cranelift/codegen/src/isa/aarch64/**"
|
|
|
|
"cranelift:area:x64":
|
|
- "cranelift/codegen/src/isa/x64/**"
|
|
|
|
"cranelift:docs":
|
|
- "cranelift/docs/**"
|
|
|
|
"cranelift:meta":
|
|
- "cranelift/codegen/meta/**"
|
|
|
|
"cranelift:module":
|
|
- "cranelift/faerie/**"
|
|
- "cranelift/module/**"
|
|
- "cranelift/object/**"
|
|
- "cranelift/simplejit/**"
|
|
|
|
"cranelift:wasm":
|
|
- "cranelift/wasm/**"
|
|
- "cranelift/wasmtests/**"
|
|
|
|
"fuzzing":
|
|
- "crates/fuzzing/**"
|
|
- "fuzz/**"
|
|
|
|
"isle":
|
|
- "cranelift/isle/**"
|
|
- "**.isle"
|
|
- "cranelift/codegen/src/isa/x64/lower/isle.rs"
|
|
- "cranelift/codegen/src/isa/x64/lower/isle/**"
|
|
|
|
"wasi":
|
|
- "crates/wasi/**"
|
|
- "crates/wasi-common/**"
|
|
- "crates/wiggle/**"
|
|
|
|
"wasmtime:api":
|
|
- "crates/wasmtime/**"
|
|
|
|
"wasmtime:c-api":
|
|
- "crates/c-api/**"
|
|
|
|
"wasmtime:docs":
|
|
- "*.md"
|
|
- "docs/**"
|
|
|
|
"wasmtime:ref-types":
|
|
- "crates/wasmtime/src/ref.rs"
|
|
- "crates/runtime/src/externref.rs"
|