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

--- Comment #7 from tomtab at gcc dot gnu.org ---
Created attachment 40843
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40843&action=edit
Generate a nop at the end of a looping memcpy

This patch changes mips_block_move_loop to generate a nop insn at the end of
the loop whenever the loop ends in a jump insn.

The nop disappears during the cse1 pass, where it is removed through DCE.

Reply via email to