runtimeverification / runtimeverification/llvm-backend
Support [memo] attribute
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 43
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
We should support the [memo] attribute in the llvm backend. Essentially, we need a cache that maps from term to term and is really fast to look up and update. I think we should start by trying out std::unordered_map and then seeing if that provides adequate performance.
We don't currently have a use case for this, so it's not urgent, but I wanted to make an issue tracking it because it is necessary for performance in some cases.
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 locating the llvm backend code that handles attributes and terms, then review how a std::unordered_map could support the [memo] attribute. The work is done when [memo] is supported and lookup/update performance has been evaluated against the issue's requirements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100