[tree-ssa] Removal of gotos from cfg based ir

law@redhat.com law@redhat.com
Fri Nov 14 20:14:00 GMT 2003


In message <1068779910.29423.104.camel@frodo.toronto.redhat.com>, Diego Novillo
 writes:
 >> We produce a bit fewer jumps than before; for example number of lines of
 >> combine.c.01.rtl decreases from 158034 to 157474.
 >> 
 >Oh?  Why is that?  You just changed the way we represent jumps.  This is
 >unexpected.
BTW, it's a lot more accurate to actually count the jump_insns rather than
counting # of lines.  And it's not terribly difficult to do that
grep -e "^(jump_insn" 

In fact, I've written scripts to pull apart rtl dumps on a per-function
basis (so you can diff them) and produce insn, jump & call counts as well.
It's quite useful to use when comparing how changes affect the code we hand
off to the RTL passes.

jeff



More information about the Gcc-patches mailing list