[llvm] Refactoring llvm-ir2vec.cpp for better separation of concerns in the Tooling classes (PR #170078)
S. VenkataKeerthy via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 1 22:36:59 PST 2025
================
@@ -216,56 +222,139 @@ class IR2VecTool {
unsigned Opcode = Vocabulary::getIndex(I.getOpcode());
unsigned TypeID = Vocabulary::getIndex(I.getType()->getTypeID());
- // Add "Next" relationship with previous instruction
if (HasPrevOpcode) {
----------------
svkeerthy wrote:
Please retain the comments here and below. They can be removed/cleaned up if they are not appropriate.
https://github.com/llvm/llvm-project/pull/170078
More information about the llvm-commits
mailing list