This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Make some passes work on the CFG instead of on the insns stream.


Hi,

This makes delete_noop_moves, life_analysis and web_main work on
the insn per basic block, instead of from the first insn in the function to
the last one. Not that they worked any different before, but you could
pass them the insns stream as an argument, and they'd expect the
CFG to be available anyway.

So this just makes things more explicit.  It also moves us one step
closer to using cfglayout mode in more places.

Bootstrapped and tested on x86-64-unknown-linux-gnu.  OK?

Gr.
Steven



Attachment: life_analysis.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]