[llvm] [NFC][IR2Vec][MIR2Vec] llvm-ir2vec refactor - move Tool class implementations into a separate utils file (PR #174133)

Nishant Sachdeva via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 9 06:05:20 PST 2026


================
@@ -17,10 +17,25 @@ set(LLVM_LINK_COMPONENTS
   TargetParser
   )
 
+# Static utility library
+add_library(emb_utils STATIC utils/utils.cpp)
----------------
nishant-sachdeva wrote:

> I think the idea is to have it as a lib so that it can be linked with both the tool and the upcoming bindings.

@svkeerthy Yes, that's correct. I'll make this change and push

https://github.com/llvm/llvm-project/pull/174133


More information about the llvm-commits mailing list