KhronosGroup / KhronosGroup/SPIRV-Tools
spirv-fuzz: Add barrier instructions in dead blocks
Open
component:fuzzer
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
Barrier instructions must be placed with care, because they lead to undefined behavior if executed under non-uniform control flow.
However, we can place them arbitrarily in dead blocks.
Contributor guide
Research direction
No files, tests, or entry points are named in the issue. Start by locating the spirv-fuzz logic for generating instructions in dead blocks and related barrier tests; done means barrier instructions can be added to dead blocks without introducing invalid non-uniform execution behavior.
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