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


> Interesting.  How does the register allocation use it?

If the value is a constant, or the sum of the stack/frame pointer and a
constant, that value can be used instead of the register.

And if a register is only set once, the value can also in some places
be replaced into the users.

Also some register tying makes use of REG_EQUAL notes.

just search in local-alloc.c for REG_EQUAL.

Moreover, regmove makes use of REG_EQUAL notes.


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