[llvm] [SPIRV] Return success when selecting reads and writes. (PR #122162)

Vyacheslav Levytskyy via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 09:48:38 PST 2025


VyacheslavLevytskyy wrote:

> The SPIR-V test failures were caused by an update in spirv-val ([KhronosGroup/SPIRV-Tools#5407](https://github.com/KhronosGroup/SPIRV-Tools/pull/5407)). Unrelated to this change.
> 
> @VyacheslavLevytskyy who would be responsible for fixing the failing tests:
> 
> ```
> Failed Tests (4):
>   LLVM :: CodeGen/SPIRV/pointers/type-deduce-sycl-stub.ll
>   LLVM :: CodeGen/SPIRV/transcoding/OpGroupBroadcast.ll
>   LLVM :: CodeGen/SPIRV/validate/sycl-hier-par-basic.ll
>   LLVM :: CodeGen/SPIRV/validate/sycl-tangle-group-algorithms.ll
> ```

So far it looks like a problem of spirv-val. In my opinion, this check must be enforced only for Vulkan, because OpenCL requires components' type to be 32/64 depending on a target.

https://github.com/llvm/llvm-project/pull/122162


More information about the llvm-commits mailing list