[all-commits] [llvm/llvm-project] 9e280c: [MemProf] Update hot/cold information after importing

Teresa Johnson via All-commits all-commits at lists.llvm.org
Wed May 10 14:58:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e280c47588bfaf008a5fb091cd47df92b9c4264
      https://github.com/llvm/llvm-project/commit/9e280c47588bfaf008a5fb091cd47df92b9c4264
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2023-05-10 (Wed, 10 May 2023)

  Changed paths:
    M clang/test/CodeGen/thinlto-distributed-supports-hot-cold-new.ll
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/test/ThinLTO/X86/memprof-supports-hot-cold-new.ll

  Log Message:
  -----------
  [MemProf] Update hot/cold information after importing

The support added by D149215 to remove memprof metadata and attributes
if we don't link with an allocator supporting hot/cold operator new
interfaces did not update imported code. Move the update handling later
in the ThinLTO backend to just after importing, and update the test to
check this case.

Differential Revision: https://reviews.llvm.org/D150295




More information about the All-commits mailing list