[all-commits] [llvm/llvm-project] a35206: [MemProf] Optionally pass hot/cold hints to operat...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Wed Apr 19 13:34:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a35206d78280e0ebcf48cd21bc5fff5c3b9c73fa
https://github.com/llvm/llvm-project/commit/a35206d78280e0ebcf48cd21bc5fff5c3b9c73fa
Author: Teresa Johnson <tejohnson at google.com>
Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths:
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
M llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/Analysis/TargetLibraryInfo.cpp
M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
A 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] Optionally pass hot/cold hints to operator new
Optionally (off by default) replace operator new() calls marked with a
hot or cold memprof attribute with an operator new() call that takes a
hot_cold_t parameter.
Currently this is supported by the open source version of tcmalloc, see:
https://github.com/google/tcmalloc/blob/master/tcmalloc/new_extension.h
Differential Revision: https://reviews.llvm.org/D148718
More information about the All-commits
mailing list