Move to new pass generation approach
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 524
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
Recently, table-gen was changed to split the emissions of passes into different chunks: https://reviews.llvm.org/D131839
This change not only splits a large monolith into smaller pieces but also adds support for generating pass constructors that expect pass options. The latter will be useful for tools like `hlstool` as many passes do currently not have constructures that take their options.
Link to the PSA: https://discourse.llvm.org/t/psa-deprecation-warning-per-pass-autogenerated-macros-and-pass-options/64998
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the table-gen pass-generation changes in reviews.llvm.org/D131839 and the PSA at discourse.llvm.org/t/psa-deprecation-warning-per-pass-autogenerated-macros-and-pass-options/64998. Then locate the current pass-generation entry points in CIRCT and define the affected constructors and tests before assessing completion; the issue names no files, tests, or precise migration boundary.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers, devtools
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100