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

Update ykllvm - additional locations in patchpoint instructions. #1644

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pavel-Durov
Copy link
Contributor

Previously, patchpoint instructions assumed a 1:1 mapping between a register live variable and its location, meaning that each register variable was tracked only in single location, the register itself. This change generalises this to a 1:n mapping, allowing a register live variable to have multiple tracked locations, such as another register or a location on a stack.
This is essential for enabling SWT control point transition between function clones while preserving live variables.

Previously, patchpoint instructions assumed a 1:1 mapping between
a register live variable and its location, meaning that each register
variable was tracked only in single location, the register itself. This
change generalises this to a 1:n mapping, allowing a register live
variable to have multiple tracked locations, such as another register
or a location on a stack.
This is essential for enabling SWT control point transition
between function clones while preserving live variables.
@ltratt ltratt added this pull request to the merge queue Mar 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 10, 2025
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