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]

Re: RFC ping: Make regname use validate_change


On Mon, Sep 05, 2005 at 03:11:03PM +0200, Andreas Krebbel wrote:
> in http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01489.html
> I've described a problem where regrename renamed a general
> register creating an insn which does not satisfy the insn
> predicate anymore. The patch using validate_change for replacing
> the registers has already been discussed with Bernd Schmidt.

And I think you got your answer; it agrees with mine.

> I understand
> his concerns that rerecognizing every insn would make 
> that step more expensive and regrename already spends some
> effort not to invalidate an insn.

This is not the point.  The point is that the constraints on 
the insn must be correct.  They are not in this case.


r~


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