[PATCH] D149475: [MemProf] Use updated version of hot/cold operator new
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 12:06:18 PDT 2023
tejohnson created this revision.
tejohnson added reviewers: snehasish, rsmith.
Herald added subscribers: hoy, hiraditya.
Herald added a project: All.
tejohnson requested review of this revision.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149475
Files:
llvm/include/llvm/Analysis/TargetLibraryInfo.def
llvm/lib/Analysis/MemoryBuiltins.cpp
llvm/lib/Analysis/TargetLibraryInfo.cpp
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll
llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149475.518012.patch
Type: text/x-patch
Size: 29481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230428/ce224785/attachment.bin>
More information about the llvm-commits
mailing list