[llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

S. VenkataKeerthy via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 3 09:47:11 PDT 2025


================
@@ -304,7 +304,7 @@ class IR2VecTestFixture : public ::testing::Test {
   Instruction *RetInst = nullptr;
 
   void SetUp() override {
-    V = Vocabulary(Vocabulary::createDummyVocabForTest(2));
+    V = new Vocabulary(Vocabulary::createDummyVocabForTest(2));
----------------
svkeerthy wrote:

Thanks for pinging. Will push the fix.

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


More information about the llvm-commits mailing list