https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69195

--- Comment #13 from Alan Modra <amodra at gmail dot com> ---
Created attachment 37862
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37862&action=edit
delete bad reg_equiv

A patch like this one that deletes reg_equiv notes that become invalid
according to validate_equiv_mem after delete_trivially_dead_insns, results in
code requiring more non-volatile regs than simply running delete_trivially_dead
insns early.  The notes created in the second pass of update_equiv_regs (that I
thought invalid) are used by reload to move stores up.

Reply via email to