[PATCH] D25348: New utility to visualize optimization records
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 6 15:21:15 PDT 2016
anemet created this revision.
anemet added a reviewer: hfinkel.
anemet added a subscriber: llvm-commits.
Herald added a subscriber: fhahn.
This is a new tool built on top of the new YAML ouput generated from
optimization remarks. It produces HTML for easy navigation and
visualization.
The tool assumes that hotness information for the remarks is available
(the YAML file was produced with PGO). It uses hotness to list the
remark prioritized by the hotness on the index page. Clicking the
source location of the remark in the list takes you the source where the
remarks are rendedered inlined in the source.
For now the tool is meant as prototype.
It's written in Python. It uses PyYAML to parse the input.
https://reviews.llvm.org/D25348
Files:
utils/opt-viewer/opt-viewer.py
utils/opt-viewer/style.css
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25348.73861.patch
Type: text/x-patch
Size: 7804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161006/bc332bf4/attachment.bin>
More information about the llvm-commits
mailing list