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

Add edges vector to CodeInstance/CodeInfo to keep backedges as edges #54894

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

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Jun 23, 2024

Appears to add about 1MB to the system image, but to decrease the stdlib size by 2MB, so seems overall favorable. The edges are not being computed yet (following the encoding https://hackmd.io/sjPig55kS4a5XNWC6HmKSg?both#Edges-Encoding) to correctly reflect the backedges, but they currently are just extracting the :invoke fields.

This records all invoke targets as edges as a functionality test, before
finishing the implementation of recording the edges accurately during
inference (via backedges + inference).
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.

None yet

1 participant