This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Selective scheduling pass - middle end changes [1/1]
Andrey Belevantsev <abel@ispras.ru> writes:
> If you're uncomfortable with the idea of the hook, I can invent
> something along the lines of searching the new jumps in the code and
> passing them to the initialization routines. This would effectively
> find insns given their UIDs and the knowledge that they has got
> created somewhere near the given point in the CFG. I think this will
> not happen too often to have significant effects on compile time. The
> hook seemed to be just the simpler way of doing this.
Well, I'm uncomfortable with the idea of the hook. I wouldn't
necessarily mind a complete hook interface. But the one you've
implemented seems sort of ad hoc and easy to get wrong. We don't
currently have any way for a pass to clearly track every change to the
RTL insn stream. If we need that, I think we should do it for real.
Ian