Commit 866aa3b6 by Doug Evans

reload1.c (reload_cse_mem_conflict_p): Restore handling of (mem:BLK const0_rtx)…

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
parent 7c0ae5f1
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment