Skip to content

[Backport to 18] Add SPV_INTEL_subgroup_buffer_prefetch extension support (#3690)#3699

Open
vmaksimo wants to merge 2 commits intoKhronosGroup:llvm_release_180from
vmaksimo:bp18-subgroup-buf-prefetch
Open

[Backport to 18] Add SPV_INTEL_subgroup_buffer_prefetch extension support (#3690)#3699
vmaksimo wants to merge 2 commits intoKhronosGroup:llvm_release_180from
vmaksimo:bp18-subgroup-buf-prefetch

Conversation

@vmaksimo
Copy link
Copy Markdown
Contributor

Backport of #3690.

In the entry-point wrapper pattern two SPIR-V functions map to the same
LLVM function; only one carries decorated parameters.
transOCLMetadata unconditionally set spirv.ParameterDecorations for both,
so the undecorated function could overwrite the decorated one's metadata.
Skip the write when the current function has no decorations and metadata
is already present.

AI-assisted: Claude Sonnet 4.6 (commercial SaaS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant