[PATCH] D30731: [SLP] Visualize SLP trees with -view-slp-tree
Adam Nemet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 23:13:52 PST 2017
anemet created this revision.
Analyzing larger trees is extremely difficult with the current debug output so
this adds GraphTraits and DOTGraphTraits on top of the VectorizableTree data
structure. We can now display the SLP trees with Graphviz as in
https://reviews.llvm.org/F3132765.
I decorated the graph where a value needs to be gathered for one reason or
another. These are the red nodes.
There other improvement I am planning to make as I work through my case here.
For example, I would also like to mark nodes that need to be extracted.
https://reviews.llvm.org/D30731
Files:
lib/Transforms/Vectorize/SLPVectorizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30731.90982.patch
Type: text/x-patch
Size: 22154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170308/5230d729/attachment.bin>
More information about the llvm-commits
mailing list