mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Pass the graph to the DOTGraphTraits.getEdgeAttributes().
This follows the interface of getNodeAttributes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126562 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -90,7 +90,8 @@ namespace llvm {
|
||||
/// If you want to override the dot attributes printed for a particular
|
||||
/// edge, override this method.
|
||||
template<typename EdgeIter>
|
||||
static std::string getEdgeAttributes(const void *Node, EdgeIter EI) {
|
||||
static std::string getEdgeAttributes(const void *Node, EdgeIter EI,
|
||||
const SelectionDAG *Graph) {
|
||||
SDValue Op = EI.getNode()->getOperand(EI.getOperand());
|
||||
EVT VT = Op.getValueType();
|
||||
if (VT == MVT::Glue)
|
||||
|
Reference in New Issue
Block a user