[all-commits] [llvm/llvm-project] ed1d95: [IR2Vec] Refactor vocabulary to use section-based ...

S. VenkataKeerthy via All-commits all-commits at lists.llvm.org
Wed Oct 1 17:13:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed1d9548b5c08142dab82bcfdd9875177d8223a5
      https://github.com/llvm/llvm-project/commit/ed1d9548b5c08142dab82bcfdd9875177d8223a5
  Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
  Date:   2025-10-01 (Wed, 01 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/IR2Vec.h
    M llvm/lib/Analysis/IR2Vec.cpp
    M llvm/lib/Analysis/InlineAdvisor.cpp
    M llvm/tools/llvm-ir2vec/llvm-ir2vec.cpp
    M llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
    M llvm/unittests/Analysis/IR2VecTest.cpp

  Log Message:
  -----------
  [IR2Vec] Refactor vocabulary to use section-based storage (#158376)

Refactored IR2Vec vocabulary and introduced IR (semantics) agnostic `VocabStorage`
- `Vocabulary` *has-a* `VocabStorage`
- `Vocabulary` deals with LLVM IR specific entities. This would help in efficient reuse of parts of the logic for MIR.
- Storage uses a section-based approach instead of a flat vector, improving organization and access patterns.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list