Adapt regalloc2-tool to work with creduce

Open
#173 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
compilers, tooling

Research direction

Start by locating the textual format emitted by regalloc2-tool and reviewing how creduce consumes inputs. Determine the changes needed for the output to be sufficiently C-like, then verify that a script can use creduce to minimize a failing regalloc2 input.

Written by the indexing model from the issue text.

Description

The fuzzing strategy we use for regalloc2 doesn't minimize well, which can make isolating a failure somewhat tedious. If the textual format emitted by regalloc2-tool looked enough like c to be used with creduce, we could write a script to automate minimization by using creduce to shrink the input.

Dominant language
Rust
Stars
266
Forks
54
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bytecodealliance/regalloc2

All issues in bytecodealliance/regalloc2

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.