summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2017-03-08 18:47:50 +0000
committerAdam Nemet <anemet@apple.com>2017-03-08 18:47:50 +0000
commit95da05c3f5064c733dc486a43f262a55deb03dc5 (patch)
treecf042c84d184c73682c449424afd8d7e848889a9 /llvm/lib/CodeGen
parent3388de1349db527f70c2b574c8adb38798758fae (diff)
downloadbcm5719-llvm-95da05c3f5064c733dc486a43f262a55deb03dc5.tar.gz
bcm5719-llvm-95da05c3f5064c733dc486a43f262a55deb03dc5.zip
[SLP] Visualize SLP trees with -view-slp-tree
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 are 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. Differential Revision: https://reviews.llvm.org/D30731 llvm-svn: 297303
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud