[llvm] r248013 - SelectionDAGDumper: Leave out the <multiple use> markers

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 10:57:33 PDT 2015


Author: matze
Date: Fri Sep 18 12:57:33 2015
New Revision: 248013

URL: http://llvm.org/viewvc/llvm-project?rev=248013&view=rev
Log:
SelectionDAGDumper: Leave out the <multiple use> markers

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

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp?rev=248013&r1=248012&r2=248013&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp Fri Sep 18 12:57:33 2015
@@ -586,9 +586,6 @@ static void DumpNodes(const SDNode *N, u
   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);




More information about the llvm-commits mailing list