On Wed, Mar 08, 2017 at 04:29:59PM -0600, Pat Haugen wrote:
> The following patch fixes an "insn does not match its constraints" ICE
> that occurred when copying a VR reg to a GPR when -mno-upper-regs-df is
> in effect. The regclass used for the wi/wj constraints was being
> incorrectly based on TARGET_UPPER_REGS_DF instead of
> TARGET_UPPER_REGS_DI. This patch fixes the initialization of the wi
> constraint, which in turn is used to set the value of the wj constraint.
> 
> Bootstrap/regtest on powerp64le and powerpc64 (-m32/-m64) with no new
> regressions. Ok for trunk?

That looks correct.  Okay for trunk, thanks!  Does it need backporting
as well?


Segher


> 2017-03-08  Pat Haugen  <pthau...@us.ibm.com>
> 
>       PR target/79907
>       * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Test
>       TARGET_UPPER_REGS_DI when setting 'wi' constraint regclass.

Reply via email to