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: RFC -- update_equiv_regs and friends


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~


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