[all-commits] [llvm/llvm-project] 3581e9: [NFC][IR2Vec] Refactoring for Stateless Embedding ...

S. VenkataKeerthy via All-commits all-commits at lists.llvm.org
Wed May 28 12:19:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3581e9bb4c7c37a1a277322d5389d4b11be0ac49
      https://github.com/llvm/llvm-project/commit/3581e9bb4c7c37a1a277322d5389d4b11be0ac49
  Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M llvm/docs/MLGO.rst
    M llvm/include/llvm/Analysis/IR2Vec.h
    M llvm/lib/Analysis/IR2Vec.cpp

  Log Message:
  -----------
  [NFC][IR2Vec] Refactoring for Stateless Embedding Computation (#141811)

Currently, users have to invoke two APIs: `computeEmbeddings()` followed
by getters to access the embeddings. This PR refactors the code to
reduce this *stateful* access of APIs. Users can now directly invoke
getters; Internally, getters would compute the embeddings.



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