mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-21 12:19:46 +08:00
reload1.c (reload_cse_mem_conflict_p): Restore handling of (mem:BLK const0_rtx) meaning all memory is clobbered.
* reload1.c (reload_cse_mem_conflict_p): Restore handling of (mem:BLK const0_rtx) meaning all memory is clobbered. From-SVN: r14512
This commit is contained in:
parent
7c0ae5f17f
commit
866aa3b64b
@ -7668,8 +7668,8 @@ reload_cse_invalidate_regno (regno, mode, clobber)
|
||||
}
|
||||
}
|
||||
|
||||
/* The memory at address MEM_BASE is being changed. MEM_MODE is the mode of
|
||||
the memory reference. Return whether this change will invalidate VAL. */
|
||||
/* The memory at address MEM_BASE is being changed.
|
||||
Return whether this change will invalidate VAL. */
|
||||
|
||||
static int
|
||||
reload_cse_mem_conflict_p (mem_base, val)
|
||||
@ -7696,6 +7696,9 @@ reload_cse_mem_conflict_p (mem_base, val)
|
||||
return 0;
|
||||
|
||||
case MEM:
|
||||
if (GET_MODE (mem_base) == BLKmode
|
||||
|| GET_MODE (val) == BLKmode)
|
||||
return 1;
|
||||
return anti_dependence (val, mem_base);
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user