[PATCH] D56793: [SelectionDAG] Add option -dag-dump-verbose-dbg

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 17 15:53:50 PST 2019


bjope updated this revision to Diff 182408.
bjope added a comment.

Now refactored based on trunk (the first version I uploaded was a
quite old patch that didn't even compile, sorry for that).

I also removed the part about letting SelectionDAG::dump() dump
all SDNodes (even the single-use nodes normally printed inline)
on separate lines. I've always found it a little bit confusing
that it says "SelectionDAG has 22 nodes:" and then it prints
what seems to be less than 22 nodes, due to some being printed
inline (and the node id is not printed for the inlined ones).
I'm thinking about adding a new option for disabling the
inline printing, but that will go in a separate patch (it is
not really related to -dag-dump-verbose).


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56793/new/

https://reviews.llvm.org/D56793

Files:
  include/llvm/CodeGen/SelectionDAG.h
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56793.182408.patch
Type: text/x-patch
Size: 4301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190117/d9384321/attachment.bin>


More information about the llvm-commits mailing list