intel / intel/llvm

E2E test cases related to translation of llvm.bitreverse fail for SPIR-V Backend

Open
#16,318 0 comments 0 reactions 0 assignees View on GitHub
confirmed enhancement
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Is your feature request related to a problem? Please describe

When the SYCL E2E test suite uses the LLVM SPIR-V Backend instead of Khronos Translator to convert LLVM IR to SPIR-V code, test cases related to translation of llvm.bitreverse fail. The reason is that these test cases are looking for the Translator specific pattern in the generated SPIR-V code rather than to check general correctness of the translation use case.

### Describe the solution you would like

sycl/test-e2e/LLVMIntrinsicLowering/bitreverse.cpp and sycl/test-e2e/LLVMIntrinsicLowering/sub_byte_bitreverse.cpp test cases should be reworked entirely to account for allowed differences in output between Khronos Translator and SPIR-V Backend.

### Describe alternatives you have considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.