[all-commits] [llvm/llvm-project] 32649e: [IR2Vec] Exposing Embedding as an data type wrappe...
S. VenkataKeerthy via All-commits
all-commits at lists.llvm.org
Tue Jun 10 15:12:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 32649e017eaa609fa556b6d6d74bb73abf37214d
https://github.com/llvm/llvm-project/commit/32649e017eaa609fa556b6d6d74bb73abf37214d
Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
Date: 2025-06-10 (Tue, 10 Jun 2025)
Changed paths:
M llvm/include/llvm/Analysis/IR2Vec.h
M llvm/lib/Analysis/IR2Vec.cpp
M llvm/unittests/Analysis/IR2VecTest.cpp
Log Message:
-----------
[IR2Vec] Exposing Embedding as an data type wrapped around std::vector<double> (#143197)
Currently `Embedding` is `std::vector<double>`. This PR makes it a data type wrapped around `std::vector<double>` to overload basic arithmetic operators and expose comparison operations. It _simplifies_ the usage here and in the passes where operations on `Embedding` would be performed.
(Tracking issue - #141817)
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