This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC -- update_equiv_regs and friends
- To: John Wehle <john at feith dot com>
- Subject: Re: RFC -- update_equiv_regs and friends
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 1 Mar 2001 18:40:39 -0800
- Cc: law at redhat dot com, gcc at gcc dot gnu dot org
- References: <200103020227.VAA00415@jwlab.FEITH.COM>
On Thu, Mar 01, 2001 at 09:27:50PM -0500, John Wehle wrote:
> 3) Change update_equiv_regs so it performs the optimization in the
> case of (REG_EQUAL && ! rtx_varies_p) in addition to REG_EQUIV.
Does anyone actually use REG_EQUAL this late? I thought the main
consumer of REG_EQUAL was cse. If not, then (2) is pointless,
since we might as well have not created the thing in the first
place.
> Sigh ... guilty as charged. Are there other outstanding issues I
> should know about?
I dunno. Kenner fixed compile/20001205-1.c with emit_insn
hackery. I'm still dubious as to whether we should have
created an asm_operand REG_EQUAL note in the first place.
r~