* loop.c (addr_overlap_p): Delete.

From-SVN: r3702
This commit is contained in:
Jeff Law 1993-03-11 05:45:54 -07:00
parent db2e669b70
commit 6f9c49e07d
1 changed files with 0 additions and 23 deletions

View File

@ -2705,29 +2705,6 @@ invariant_p (x)
return 1 + conditional;
}
/* Return 1 if OTHER (a mem ref) overlaps the area of memory
which is SIZE bytes starting at BASE. */
int
addr_overlap_p (other, base, size)
rtx other;
rtx base;
HOST_WIDE_INT size;
{
HOST_WIDE_INT start = 0, end;
if (GET_CODE (base) == CONST)
base = XEXP (base, 0);
if (GET_CODE (base) == PLUS
&& GET_CODE (XEXP (base, 1)) == CONST_INT)
{
start = INTVAL (XEXP (base, 1));
base = XEXP (base, 0);
}
end = start + size;
return refers_to_mem_p (other, base, start, end);
}
/* Return nonzero if all the insns in the loop that set REG
are INSN and the immediately following insns,