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

[P4Testgen] Fix problems with the reachability pass. #4789

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

fruffy
Copy link
Collaborator

@fruffy fruffy commented Jul 8, 2024

Clean up some issues with the reachability pass and modernize the code. This pass is barely used so the changes are not of much consequence. This fixes are useful for better control-flow analysis and statistics on program complexity. Hoping to contribute some of this code soon.

Also add some more getter/setter helper functions to callgraph.h.

@fruffy fruffy added the p4tools Topics related to the P4Tools back end label Jul 8, 2024
@fruffy fruffy force-pushed the fruffy/reachability_pass_fixes branch 3 times, most recently from 52dcc02 to 2c33e75 Compare July 9, 2024 13:32
Signed-off-by: fruffy <fruffy@nyu.edu>
@fruffy fruffy force-pushed the fruffy/reachability_pass_fixes branch from 2c33e75 to 8e03209 Compare July 10, 2024 17:24
@fruffy fruffy marked this pull request as ready for review July 15, 2024 23:23
@fruffy fruffy requested a review from vlstill July 15, 2024 23:23
Signed-off-by: fruffy <fruffy@nyu.edu>
@fruffy fruffy added this pull request to the merge queue Jul 31, 2024
Merged via the queue into main with commit 9d4e3c1 Jul 31, 2024
17 checks passed
@fruffy fruffy deleted the fruffy/reachability_pass_fixes branch July 31, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p4tools Topics related to the P4Tools back end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants