Skip to content

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 16] Fix incorrect translation of calls to a builtin that returns a structure [Backport to 16] Fix incorrect translation of calls to a builtin that returns a structure (#2722) Feb 25, 2025
@VyacheslavLevytskyy VyacheslavLevytskyy merged commit f70e717 into KhronosGroup:llvm_release_160 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