Issue 136049
Summary CodeGen SPIR-V tests that specify --target-env vulkan1.3 are failing
Labels new issue
Assignees
Reporter kmpeng
    When SPIRV-Tools is enabled, tests that specify the target environment `vulkan1.3` in the validation step are failing. Specifically, the tests are:
- `CodeGen/SPIRV/hlsl-intrinsics/SV_GroupIndex.ll` ([link](https://github.com/llvm/llvm-project/blob/e64305096a3d1ec122953be6e7008fbf05467d73/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/SV_GroupIndex.ll#L2))
- `CodeGen/SPIRV/hlsl-intrinsics/smoothstep.ll` ([link](https://github.com/llvm/llvm-project/blob/e64305096a3d1ec122953be6e7008fbf05467d73/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/smoothstep.ll#L2))

This is happening because SPIRV-Tools seems to have [grown some capability checks for 1.3](https://github.com/KhronosGroup/SPIRV-Tools/commit/7e41c7130f8258bf2d62179d8d6dbf3b68a7978b). The target environments were originally added by suggestion in order to give more robust testing. https://github.com/llvm/llvm-project/pull/132288#discussion_r2014219638. 

Proposed solution is to remove the `--target-env` specifications from these tests.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to