KhronosGroup / KhronosGroup/SPIRV-Tools
spirv-fuzz: Support vector operands in TransformationAddBitInstructionSynonym
Open
component:fuzzer
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
Right now, `TransformationAddBitInstructionSynonym` only supports bit instructions with **integer** operands. This can be extended to support **vector** operands by extracting the components, evaluating them as integer types and constructing the result vector.
Contributor guide
Research direction
Start by reading TransformationAddBitInstructionSynonym and its existing handling for integer operands. Trace how operands are evaluated and results are constructed; done means extending this transformation to extract vector components, evaluate them as integer types, and construct the resulting vector.
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
- 45/100