KhronosGroup / KhronosGroup/SPIRV-Tools
Add utility function "merge block (id) if any" methods to BasicBlock
Open
component:optimization
enhancement
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
Used in several of the mem2reg passes
Contributor guide
Research direction
Start by locating BasicBlock and the mem2reg passes that currently need to merge a block by ID when one exists. Identify the repeated lookup-and-merge behavior and determine the utility method names and signatures that fit BasicBlock. Done means the methods support those mem2reg callers without changing their behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100