if (result)
return result;
- else if (GET_CODE (x) == REG)
+ else if (REG_P (x))
{
/* Must be a hard reg that's not valid in MODE. */
result = gen_lowpart_common (mode, copy_to_reg (x));
abort ();
return result;
}
- else if (GET_CODE (x) == MEM)
+ else if (MEM_P (x))
{
/* The only additional case we can do is MEM. */
int offset = 0;
return adjust_address (x, mode, offset);
}
- else if (GET_CODE (x) == ADDRESSOF)
- return gen_lowpart_general (mode, force_reg (GET_MODE (x), x));
else
abort ();
}