[llvm] [StaticDataLayout][PGO]Implement reader and writer change for data access profiles (PR #139997)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 11:10:25 PDT 2025


================
@@ -110,8 +115,9 @@ struct DataAccessProfRecord {
     for (auto Loc : LocRefs)
       Locations.push_back(SourceLocation(Loc.FileName, Loc.Line));
----------------
snehasish wrote:

Emplace back to avoid a copy?

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


More information about the llvm-commits mailing list