KhronosGroup / KhronosGroup/SPIRV-LLVM-Translator
kernel_arg_type_qual metadata that carries constant qualifier is currently untranslatable
- Dominant language
- LLVM
- Stars
- 625
- Forks
- 279
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 34
Description
To resolve https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/942 `NoWrite `SPIR-V attribute was unmapped from `kernel_arg_type_qual` metadata that carries `constant` qualifier (https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/989), which left this metadata untranslated. A possible W/A is introduced here: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/996 but it's quiet ugly.
Contributor guide
Research direction
Start by reading issue #942 and the context in PRs #989 and #996. Trace how kernel_arg_type_qual metadata with the constant qualifier is translated, then determine what a clean resolution looks like without the workaround described as ugly in the issue.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100