[PATCH] D12569: SelectionDAGDumper: Leave out the <multiple use> markers

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 10:57:25 PDT 2015


MatzeB created this revision.
MatzeB added a reviewer: resistor.
MatzeB added a subscriber: llvm-commits.
MatzeB set the repository for this revision to rL LLVM.

They mostly clutter the output while it is still possible to see which
node has multiple users without them.

Repository:
  rL LLVM

http://reviews.llvm.org/D12569

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp

Index: lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
===================================================================
--- lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+++ lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
@@ -597,9 +597,6 @@
       continue;
     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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12569.33833.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150902/fa64819b/attachment.bin>


More information about the llvm-commits mailing list