[llvm-branch-commits] [llvm] [IR2Vec] Add embeddings mode to llvm-ir2vec tool (PR #147844)
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 14 08:45:49 PDT 2025
================
@@ -34,7 +42,7 @@
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
-using namespace ir2vec;
+using namespace llvm::ir2vec;
----------------
boomanaiden154 wrote:
Instead of `using` statements, it might be better to wrap everything outside of `main` in an anonymous namespace inside the `llvm::ir2vec` namespace. I'm not sure what the coding standards are, but that's the pattern I see in other tools like `llvm-exegesis`.
https://github.com/llvm/llvm-project/pull/147844
More information about the llvm-branch-commits
mailing list