[PATCH] D145836: [MemProf] Context disambiguation cloning pass [patch 1b/3]

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 10 19:20:57 PST 2023


tejohnson created this revision.
tejohnson added reviewers: snehasish, davidxl.
Herald added subscribers: ormris, arphaman, steven_wu, hiraditya.
Herald added a project: All.
tejohnson requested review of this revision.
Herald added a project: LLVM.

Adds support for building the graph in ThinLTO from MemProf summaries.

Follow-on patches will contain the support for cloning on the graph and
in the IR.

Depends on D140908 <https://reviews.llvm.org/D140908>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145836

Files:
  llvm/include/llvm/IR/ModuleSummaryIndex.h
  llvm/include/llvm/Transforms/IPO/MemProfContextDisambiguation.h
  llvm/lib/LTO/LTO.cpp
  llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
  llvm/test/ThinLTO/X86/memprof-basic.ll
  llvm/test/ThinLTO/X86/memprof-duplicate-context-ids.ll
  llvm/test/ThinLTO/X86/memprof-duplicate-context-ids2.ll
  llvm/test/ThinLTO/X86/memprof-indirectcall.ll
  llvm/test/ThinLTO/X86/memprof-inlined.ll
  llvm/test/ThinLTO/X86/memprof-inlined2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145836.504326.patch
Type: text/x-patch
Size: 110981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230311/55aaffc4/attachment-0001.bin>


More information about the llvm-commits mailing list