[PATCH] D140908: [MemProf] Context disambiguation cloning pass [patch 1/3]
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 3 10:20:04 PST 2023
tejohnson added a comment.
Examples of the dot files (for new test llvm/test/Transforms/PGHOContextDisambiguation/basic.ll), also converted to png format, are attached:
basic.ll.tmp.ccg.prestackupdate.dot[.png] is the dot file generated after adding all allocation nodes, and the stack nodes corresponding to the memprof metadata on those allocations.
basic.ll.tmp.ccg.postbuild.dot[.png] is the dot file generated after matching callsite metadata from other calls to the stack nodes.
The color scheme on the nodes/edges: blue = cold, red = noncold, purple = both
In the dot file format there is a tooltip that shows the assigned context ids for each node and edge.F26086741: basic.ll.tmp.ccg.postbuild.dot.png <https://reviews.llvm.org/F26086741>
F26086740: basic.ll.tmp.ccg.prestackupdate.dot.png <https://reviews.llvm.org/F26086740>
F26086739: basic.ll.tmp.ccg.prestackupdate.dot <https://reviews.llvm.org/F26086739>
F26086738: basic.ll.tmp.ccg.postbuild.dot <https://reviews.llvm.org/F26086738>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140908/new/
https://reviews.llvm.org/D140908
More information about the llvm-commits
mailing list