KhronosGroup / KhronosGroup/SPIRV-Tools
Add convenience methods for creating ir::Operand, e.g. ir::Operand::CreateIntLiteral ir::Operand::CreateId
Open
component:optimization
enhancement
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
E.g. see discussion in https://github.com/KhronosGroup/SPIRV-Tools/pull/701 in GenACLoadRepl
Contributor guide
Research direction
Read the discussion in pull request 701, focusing on GenACLoadRepl, then trace the existing ir::Operand construction and uses. Determine the requested convenience methods, including CreateIntLiteral and CreateId, and confirm the API scope and expected behavior before implementing and testing them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100