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: RFD: RTX_UNCHANGING_P and other ways to optimize memrefs


> 2. It would help if there was a way to have a mapping from a MEM rtx to
>    an offset in the stack frame (obviously only for stack slots).  The
>    lack of decent addressing modes on ia64 means that we often don't get
>    very good information out of the alias analysis - addresses are always
>    plain regs, and after reload hard regs get reused too often to be able
>    to tell what they contain.
>    I don't see a good way to do this without adding another field to all
>    MEMs (and hence, all REGs), and that is probably unacceptable.

You can use a REG_EQUAL note for loads.
But then, that costs even more memory.


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