mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-06 02:29:40 +08:00
cse.c (invalidate_from_clobbers): Delete unnecessary test for (clobber nil).
* cse.c (invalidate_from_clobbers): Delete unnecessary test for (clobber nil). From-SVN: r13618
This commit is contained in:
parent
580ceef20e
commit
899bf2bfa5
16
gcc/cse.c
16
gcc/cse.c
@ -7653,15 +7653,13 @@ invalidate_from_clobbers (w, x)
|
||||
if (GET_CODE (x) == CLOBBER)
|
||||
{
|
||||
rtx ref = XEXP (x, 0);
|
||||
if (ref)
|
||||
{
|
||||
if (GET_CODE (ref) == REG || GET_CODE (ref) == SUBREG
|
||||
|| (GET_CODE (ref) == MEM && ! w->all))
|
||||
invalidate (ref, VOIDmode);
|
||||
else if (GET_CODE (ref) == STRICT_LOW_PART
|
||||
|| GET_CODE (ref) == ZERO_EXTRACT)
|
||||
invalidate (XEXP (ref, 0), GET_MODE (ref));
|
||||
}
|
||||
|
||||
if (GET_CODE (ref) == REG || GET_CODE (ref) == SUBREG
|
||||
|| (GET_CODE (ref) == MEM && ! w->all))
|
||||
invalidate (ref, VOIDmode);
|
||||
else if (GET_CODE (ref) == STRICT_LOW_PART
|
||||
|| GET_CODE (ref) == ZERO_EXTRACT)
|
||||
invalidate (XEXP (ref, 0), GET_MODE (ref));
|
||||
}
|
||||
else if (GET_CODE (x) == PARALLEL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user