<div dir="ltr">Perhaps you should consider to use #ID instead of NodeID (#43 instead of Node43) as it appears that there may be quite a few nodes in each line and you thereby can save three characters per node.  But as you are already saving a few characters per node, it may be a silly suggestion.  Just my two pennies.<div>
<br></div><div><br></div><div>-- Mikael</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/6 Stepan Dyatkovskiy <span dir="ltr"><<a href="mailto:stpworld@narod.ru" target="_blank">stpworld@narod.ru</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all!<br>
I propose DAG dump improvement (for -debug output). To be short just look at example below:<br>
<br>
Now:<br>
  0x3adf4e0: v4i32,ch = load 0x3ab64c0, 0x3ab5680, 0x3abaee0 <LD16[bitcast ([4 x i32]* @f to <4 x i32>*)](align=4)(tbaa=<badref><u></u>)> [ORD=47] [ID=-3]<br>
<br>
After:<br>
  Node47: v4i32,ch = load Node7, Node46, Node26<i32 undef> <LD16[bitcast ([4 x i32]* @f to <4 x i32>*)](align=4)(tbaa=<badref><u></u>)> [ORD=47] [ID=-3]<br>
<br>
Features:<br>
  * Possibility to replace 0xCRAZYNUM with something more<br>
    readable (Node<Num>).<br>
    You can also setup to output both CRAZYNUM and Node<Num>.<br>
  * Constants, registers and undef could be inlined. So you don't need<br>
    to lookup top part of dump just to realize that 0x3abaee0 is undef.<br>
    It could be inlined in hint mode, or substitution mode.<br>
    In last case you will get next output:<br>
  Node47: v4i32,ch = load Node7, Node46, i32 undef <LD16[bitcast ([4 x i32]* @f to <4 x i32>*)](align=4)(tbaa=<badref><u></u>)> [ORD=47] [ID=-3]<br>
<br>
Will wait you reviews, remarks and questions.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Stepan<br>
<br>
</font></span><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>