SelectionDAGDumper: Leave out the <multiple use> markers
authorMatthias Braun <matze@braunis.de>
Fri, 18 Sep 2015 17:57:33 +0000 (17:57 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 18 Sep 2015 17:57:33 +0000 (17:57 +0000)
They mostly clutter the output while it is still possible to see which
node has multiple users without them.

Differential Revision: http://reviews.llvm.org/D12569

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248013 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp

index dd50beeb33b0fbcdd47b59eb66215ab6c5e2d6ad..9f9c7deda7f306aa20de4f1b783ec152d85509da 100644 (file)
@@ -586,9 +586,6 @@ static void DumpNodes(const SDNode *N, unsigned indent, const SelectionDAG *G) {
   for (const SDValue &Op : N->op_values())
     if (Op.getNode()->hasOneUse())
       DumpNodes(Op.getNode(), indent+2, G);
-    else
-      dbgs() << std::string(indent+2, ' ')
-             << PrintNodeId(*Op.getNode()) << ": <multiple use>\n";
 
   dbgs().indent(indent);
   N->dump(G);