Skip to content

[Backport to 14] Add option to control builtin format for reverse translation. #3035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

haonanya1
Copy link

Currently, we always convert SPIR-V bultins to globals for forward translation and to functions for reverse translation.
I have a use case where I want to keep them as globals for reverse translation, so I added this mode.
Implementations for both cases already existed, I just consolidated them and added the option.

Backport of #1986.

…nslation

Currently, we always convert SPIR-V bultins to globals for forward translation and to functions for reverse translation.

I have a use case where I want to keep them as globals for reverse translation, so I added this mode.

Implementations for both cases already existed, I just consolidated them and added the option.
@CLAassistant
Copy link

CLAassistant commented Mar 4, 2025

CLA assistant check
All committers have signed the CLA.

@haonanya1
Copy link
Author

@MrSidims and @svenvh , we want to backport your fix #3023 to 140 branch, the fix is based on several commit, I will backport them one by one. Could you please help trigger CI? Thanks very much.

@MrSidims MrSidims merged commit f5bb824 into KhronosGroup:llvm_release_140 Mar 5, 2025
9 checks passed
@haonanya1 haonanya1 deleted the builtin-out-of-range-140 branch March 6, 2025 02:47
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.

3 participants