llvm / llvm/offload-test-suite
[Clang + Vulkan] Invalid SPIRV code since loop intrinsic is preceded by convergent op in same block
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 18
- Forks
- 39
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 40
Description
As seen here:
https://github.com/llvm/offload-test-suite/actions/runs/31515381809/job/93861060523?pr=1434#step:13:340
The spirv-val says that `Loop intrinsic cannot be preceded by a convergent operation in the same basic block.`
We need to prevent this pattern from emerging.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked GitHub Actions run and inspect the spirv-val failure showing a loop intrinsic preceded by a convergent operation in the same basic block. Trace where this SPIR-V pattern is generated and reproduce the validator error; done means the pattern no longer emerges and spirv-val accepts the generated code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100