(flow_delete_insn): New function.
(find_basic_blocks): Call it to physically delete insns in unreachable blocks. When scanning blocks after dead ones, start scanning after the dead one (not at the dead one). If there are lots of unreachable blocks, make another pass to squeeze them out (this reduces memory usage in some pathalogical cases by a significant amount without resorting to sparse matrices). (propagate_block): Make code a bit more efficient (for example, no need to test `loop_depth' for each insn, just notes). From-SVN: r8440
Showing
Please
register
or
sign in
to comment