Re: Prevent invalid register mode changes in combine

2017-10-12 Thread Jeff Law
On 09/18/2017 05:38 AM, Richard Sandiford wrote: > This patch stops combine from changing the mode of an existing register > in-place if doing so would change the size of the underlying register > allocation size, as given by REGMODE_NATURAL_SIZE. Without this, > many tests fail in adjust_reg_mode

Prevent invalid register mode changes in combine

2017-09-18 Thread Richard Sandiford
This patch stops combine from changing the mode of an existing register in-place if doing so would change the size of the underlying register allocation size, as given by REGMODE_NATURAL_SIZE. Without this, many tests fail in adjust_reg_mode after SVE is added. One example is gcc.c-torture/compil