Skip to content

Conversation

@kc611
Copy link
Contributor

@kc611 kc611 commented Jul 7, 2023

Resolves: #73
Builds on top of #50
As an alternative to #58,

We can update the jump_targets and backedges within the BasicBlock object to prevent copies and do minimal changes to code logic.

@esc
Copy link
Member

esc commented Jul 31, 2023

Can this be rebased onto main?

@kc611 kc611 force-pushed the outedges_refactor branch from f04eeb9 to adeeacf Compare August 2, 2023 06:57
@kc611 kc611 force-pushed the outedges_refactor branch from adeeacf to d2331e7 Compare August 2, 2023 08:48
@esc
Copy link
Member

esc commented Aug 3, 2023

Question: why was it necessary to remove the ability to deep-copy before application of any major algorithm? It should still be possible to deep-copy between closing, loop- and branch-restructure?

Copy link
Member

@esc esc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have given this a first pass and found some items to address.

@kc611
Copy link
Contributor Author

kc611 commented Aug 29, 2023

Question: why was it necessary to remove the ability to deep-copy before application of any major algorithm? It should still be possible to deep-copy between closing, loop- and branch-restructure?

It wasn't necessary to remove it, but rather it makes no difference for it to be there, since the graph is anyways mutable. Unless we have a fallback mechanism which I think is actually something we should look into.

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.

Refactor: Make jump_target a property of SCFG

2 participants