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

Deduplicate LLVM-IR strings #101

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

Conversation

ChrisCummins
Copy link
Owner

This changes the format of the LLVM-IR program graphs to store a list
of unique strings, rather than LLVM-IR strings in each node. We use a
graph-level "strings" feature to store a list of the original LLVM-IR
string corresponding to each graph nodes. This allows to us to refer
to the same string from multiple nodes without duplication.

This breaks compatability with the inst2vec encoder on program graphs
generated prior to this commit.

@ChrisCummins ChrisCummins changed the title llvm: Deduplicate LLVM-IR strings Deduplicate LLVM-IR strings Aug 21, 2020
@ChrisCummins ChrisCummins force-pushed the feature/dedup_llvm_strings branch 2 times, most recently from 5f5da32 to f427dcf Compare August 24, 2020 10:39
This changes the format of the LLVM-IR program graphs to store a list
of unique strings, rather than LLVM-IR strings in each node. We use a
graph-level "strings" feature to store a list of the original LLVM-IR
string corresponding to each graph nodes. This allows to us to refer
to the same string from multiple nodes without duplication.

This breaks compatability with the inst2vec encoder on program graphs
generated prior to this commit.
@ChrisCummins ChrisCummins force-pushed the feature/dedup_llvm_strings branch from f427dcf to 6d56810 Compare August 30, 2020 01:47
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.

1 participant