[llvm] [StaticDataLayout][PGO] Add profile format for static data layout, and the classes to operate on the profiles. (PR #138170)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue May 6 09:23:23 PDT 2025


================
@@ -57,6 +57,8 @@ class MapVector {
     return std::move(Vector);
   }
 
+  ArrayRef<value_type> getArrayRef() const { return Vector; }
----------------
teresajohnson wrote:

Probably put this into a separate prep patch with a test in llvm/unittests/ADT/MapVectorTest.cpp.

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


More information about the llvm-commits mailing list