On 12/09/2011 08:44 AM, Richard Sandiford wrote:
> PR middle-end/50873
> * optabs.c (maybe_legitimize_operand_same_code): Use copy_to_mode_reg
> instead of force_reg. Do nothing if the address is already a
> non-virtual pseudo register.
Ok.
r~
ARM's neon_vector_mem_operand does not allow eliminable or virtual registers
to be used as addresses. create_*_operand was supposed to cope with that by
replacing the address with a (non-virtual) pseudo register. The problem is
that I used the wrong function: force_reg rather than copy_to_mode_re