[all-commits] [llvm/llvm-project] 119292: [IR2Vec] Add out-of-place arithmetic operators to ...

S. VenkataKeerthy via All-commits all-commits at lists.llvm.org
Tue Jul 1 12:10:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 119292c40b0fbca8aa7ef6796d75d0cf336f9909
      https://github.com/llvm/llvm-project/commit/119292c40b0fbca8aa7ef6796d75d0cf336f9909
  Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
  Date:   2025-07-01 (Tue, 01 Jul 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] Add out-of-place arithmetic operators to Embedding class (#145118)

This PR adds out-of-place arithmetic operators (`+`, `-`, `*`) to the `Embedding` class in IR2Vec, complementing the existing in-place operators (`+=`, `-=`, `*=`). 

Tests have been added to verify the functionality of these new operators.

(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