Re: [AArch64] Use aarch64_reg_or_imm instead of nonmemory_operand

2017-11-07 Thread Richard Earnshaw (lists)
On 06/11/17 20:08, Richard Sandiford wrote: > Some of the shift expanders accepted nonmemory_operands but were only > able to handle register_operands or CONST_INTs. This is probably > academic without SVE, since we're not likely to see shifts by other > types of constant (const_wide_ints,

[AArch64] Use aarch64_reg_or_imm instead of nonmemory_operand

2017-11-06 Thread Richard Sandiford
Some of the shift expanders accepted nonmemory_operands but were only able to handle register_operands or CONST_INTs. This is probably academic without SVE, since we're not likely to see shifts by other types of constant (const_wide_ints, consts, etc). But for SVE, it's possible for a vectorised