Index: lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp =================================================================== --- lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp +++ lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp @@ -389,8 +389,9 @@ } void SDNode::print_types(raw_ostream &OS, const SelectionDAG *G) const { - OS << PrintNodeId(*this) << ": "; + OS << PrintNodeId(*this) << " = "; + OS << getOperationName(G) << ':'; for (unsigned i = 0, e = getNumValues(); i != e; ++i) { if (i) OS << ","; if (getValueType(i) == MVT::Other) @@ -398,7 +399,6 @@ else OS << getValueType(i).getEVTString(); } - OS << " = " << getOperationName(G); } void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const { @@ -604,6 +604,7 @@ void SDNode::printr(raw_ostream &OS, const SelectionDAG *G) const { print_types(OS, G); + OS << ' '; print_details(OS, G); }