KhronosGroup / KhronosGroup/SPIRV-Tools
Generalize GetPtr method in SSA passes to handl SPV_KHR_variable_pointers.
Open
component:optimization
enhancement
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
Currently they assume a pointer argument is an non-ptr-access-chain, variable, or CopyObject.
Need to generalize algorithms around them too.
Contributor guide
Research direction
Start by locating the GetPtr method and the SSA passes that currently assume pointers are non-ptr-access-chain variables or CopyObject results. Trace the surrounding algorithms for those assumptions and verify that they also handle SPV_KHR_variable_pointers; done means the SSA passes support the extension's pointer forms consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100