Skip to content
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

Copy metadata for new call functions when undoing pass by val #1309

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

Rekt3421
Copy link
Collaborator

This change fixes #1228 by correctly copying over the metadata to any new calls generated as a result of undoing pass by val.

lib/UndoByvalPass.cpp Outdated Show resolved Hide resolved
test/issue-1228.cl Outdated Show resolved Hide resolved
@rjodinchr rjodinchr merged commit 0c88504 into google:main Feb 26, 2024
10 of 12 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.

Segfaults when passing struct in global memory by value to a function.
3 participants