This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFD: RTX_UNCHANGING_P and other ways to optimize memrefs
- To: bernds at cambridge dot redhat dot com (Bernd Schmidt)
- Subject: Re: RFD: RTX_UNCHANGING_P and other ways to optimize memrefs
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Fri, 16 Mar 2001 23:44:06 +0000 (GMT)
- Cc: gcc at gcc dot gnu dot org
> 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.