Only print edgeSourceLabels if they are not empty
authorTobias Grosser <grosser@fim.uni-passau.de>
Mon, 30 Nov 2009 12:24:40 +0000 (12:24 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Mon, 30 Nov 2009 12:24:40 +0000 (12:24 +0000)
commitc500566d9fb70472a17f62b4cf1689062c52e095
treeb2d26dc0f4e6d3db79a57a9d3b2a3d4c338dac49
parent2833fac27324b956cfb31be987652d2304d10761
Only print edgeSourceLabels if they are not empty

Graphviz can layout the graphs better if a node does not contain source
ports. Therefore only print the ports if the source ports are useful,
that means are not labeled with the empty string "".
This patch also simplifies graphs without any edgeSourceLabels e.g. the
dominance trees.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90131 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GraphWriter.h