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

Unnecessary nodes created when finding the cell of a global in a graph #100

Open
igcontreras opened this issue Sep 2, 2020 · 0 comments
Assignees

Comments

@igcontreras
Copy link
Contributor

igcontreras commented Sep 2, 2020

Obtaining a node in a graph that corresponds to a global variable introduces an empty node in the graph that is not linked to anything.

short2.pp.ms.o.bc.zip

To reproduce this:

$ seadsa --sea-dsa-type-aware --sea-dsa=cs --sea-dsa-color-func-sim-dot --sea-dsa-dot short2.pp.ms.o.bc
$ dot -Tpdf main.TD.mem.dot -o main.TD.mem.pdf
$ dot -Tpdf main.mem.dot -o main.mem.pdf

main.TD.pdf and main.pdf represent the same graph, main.TD.pdf is colored according to the simulation relation of the bottom-up graph. When coloring, the same graph is used for both:

colorGraphsFunction(F, *buG, *G, colorBuG, colorG);
But main.pdf is printed before the simulation and main.TD.pdf after.

main.pdf
main.TD.pdf

@caballa caballa self-assigned this Sep 10, 2020
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

No branches or pull requests

2 participants