KhronosGroup / KhronosGroup/SPIRV-Tools
Refine the way in which hard-to-donate instructions are handled
Open
component:fuzzer
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
An instruction may be hard to donate from one module to another if it uses operand ids that could not be donated.
Currently such instructions are replaced by OpCopyObject instructions that copy a constant of the required result type.
A more refined alternative would be to turn the operand ids that could not be donated into references to some other ids of appropriate type, so that an instruction similar to the original is donated.
Contributor guide
Assessment
This issue has not been assessed yet.