On 12-09-28 4:43 AM, Steven Bosscher wrote:
On Fri, Sep 28, 2012 at 12:57 AM, Vladimir Makarov <vmaka...@redhat.com> wrote:
LRA outputs a lot debug information about insns. I found that using slim
insn/rtl presentation helps a lot for LRA debuging. The following patch
makes slim presentation printing functions visible to LRA. It also
implements one more such function.
2012-09-27 Vladimir Makarov <vmaka...@redhat.com>
* rtl.h (debug_bb_n_slim, debug_bb_slim, print_value_slim): New
prototypes.
(debug_rtl_slim, debug_insn_slim): Ditto.
* sched-vis.c (print_value_slim): New.
I have patches in the works to use the slim RTL dumping format more,
too, and to use the pretty-printer code so that printing strings with
escaped characters can be made more transparent (e.g. for use in
GraphViz dumps).
That would be nice. Slim printing is very useful for LRA which prints a
lot of changes in RTL code during all its work. Regular printing is
unreadable because of its volume. For LRA debugging I usually find a
suspicious place in slim dump and if I need more info I use regular dump
of the suspicious insn.
Perhaps it's time to rename sched-vis.c to print-rtl-slim.c? :-)
Yes, the name sched-vis.c is very misleading.