[all-commits] [llvm/llvm-project] 39f7b4: [MemProf] Use updated version of hot/cold operator...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Fri Apr 28 13:36:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39f7b48671dae5fbe3afc49f33f50c2b6340bb89
      https://github.com/llvm/llvm-project/commit/39f7b48671dae5fbe3afc49f33f50c2b6340bb89
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.def
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll
    M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
    M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

  Log Message:
  -----------
  [MemProf] Use updated version of hot/cold operator new

Switch to the just updated versions of the API in tcmalloc that change
the name of the hot cold paramter to a reserved identifier __hot_cold_t.
This was based on feedback from Richard Smith, as I also need to add
some follow-on handling to clang so they are annotated properly.

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




More information about the All-commits mailing list