This is the mail archive of the gcc@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]

Re: INSN_CODE_NUMBER of INT_MAX


On Sat, Jul 28, 2001 at 08:19:00PM +0200, Jan Hubicka wrote:
> > You could try instead to
> >  - find if there is a previous set where you can put the REG_EQUAL note
> >    (i.e. it is in the same set of flow paths and sets the same register,
> >     and there is no non-trivial REG_EQUAL note already there)
> Hmm, shouldn't it be simply previous set of the register in case it is in the
> same basic block?
> I can teach delete_trivially_dead_insns to do this trick.

This is the only sensible thing to do.  The other two options pessimize
all of the optimizers at the expense of a not-terribly-good register
allocator.


r~


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