[InferResets] Use common helpers for field id
Open
Nobody has claimed this yet.
FIRRTL
good first issue
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 524
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
InferResets uses own helpers for field id. We should replace these with common helpers.
https://github.com/llvm/circt/blob/53715afc0c5fbfe65d0a1f7cb7946666fbee649f/lib/Dialect/FIRRTL/Transforms/InferResets.cpp#L571-L706
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 in lib/Dialect/FIRRTL/Transforms/InferResets.cpp, especially lines 571-706, and inspect the common helpers used for field IDs elsewhere in the repository. Replace the local InferResets helpers with those common helpers, then verify that the transform still behaves as before.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100