Skip to content

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.

2 participants