Skip to content

[Backport to 15] Fix incorrect translation of calls to a builtin that returns a structure (#2722) #3031

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

Conversation

VyacheslavLevytskyy
Copy link
Contributor

@VyacheslavLevytskyy VyacheslavLevytskyy commented Feb 25, 2025

This PR fixes the issue with Khronos Translator incorrectly translating calls to builtins that returns a structure and generating incorrect extractvalue applied to a pointer. The PR is to fix the issue by preserving equivalence of newly inserted values with prior values of function return's type.

@VyacheslavLevytskyy VyacheslavLevytskyy changed the title [Backport to 15] Fix incorrect translation of calls to a builtin that returns a structure [Backport to 15] Fix incorrect translation of calls to a builtin that returns a structure (#2722) Feb 25, 2025
@VyacheslavLevytskyy VyacheslavLevytskyy merged commit ea8bd9e into KhronosGroup:llvm_release_150 Feb 26, 2025
9 checks passed
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.

2 participants