Skip to content

Conversation

@bader
Copy link
Contributor

@bader bader commented Nov 25, 2025

This patch aligns metadata with the format defined in the commit message
for
KhronosGroup/SPIRV-LLVM-Translator@c8bfc33.
Unfortunately, the format is still not documented in
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/main/docs/SPIRVRepresentationInLLVM.rst.

This patch fixes the crash in the translator tool, which tries to handle
wrong metadata format. I manually checked that the translator
successfully converts properties_cache_control.cpp test to SPIR-V format
with CacheControl decorations.

This patch aligns metadata with the format defined in the commit message for KhronosGroup/SPIRV-LLVM-Translator@c8bfc33. Unfortunately, the format is still not documented in https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/main/docs/SPIRVRepresentationInLLVM.rst. This patch fixes the crash in the translator tool, which tries to handle wrong metadata format. I manually checked that the translator successfully converts properties_cache_control.cpp test to SPIR-V format with CacheControl decorations.
Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@steffenlarsen
Copy link
Contributor

Windows BMG CI seems to be unstable w.r.t. timing out at the moment. It is observed elsewhere as well.

@steffenlarsen steffenlarsen merged commit 5cd2c2a into intel:sycl Nov 25, 2025
32 of 34 checks passed
@bader bader deleted the fix-cache-controls branch December 2, 2025 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants