[all-commits] [llvm/llvm-project] 102232: [ctx_prof] Move the "from json" logic more central...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Tue Aug 27 15:43:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1022323c9b7cd4b9506e25f8f353da632761801e
      https://github.com/llvm/llvm-project/commit/1022323c9b7cd4b9506e25f8f353da632761801e
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
    M llvm/lib/ProfileData/PGOCtxProfWriter.cpp
    M llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp

  Log Message:
  -----------
  [ctx_prof] Move the "from json" logic more centrally to reuse it from test. (#106129)

Making the synthesis of a contextual profile file from a JSON descriptor more reusable, for unittest authoring purposes.

The functionality round-trips through the binary format - no reason, currently, to support other ways of loading contextual profiles.



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