Hi Jakub

I have modified the entries:

*** gcc/ChangeLog ***

2017-10-05  Sudakshina Das  <sudi....@arm.com>

        PR target/82440
        * config/aarch64/predicates.md (aarch64_reg_or_orr_imm): Changed to
        to only call aarch64_simd_valid_immediate on CONST_VECTORs.
        (aarch64_reg_or_bic_imm): Likewise.

*** gcc/testsuite/ChangeLog ***

2017-10-05  Sudakshina Das  <sudi....@arm.com>

        * gcc.target/aarch64/bic_imm_1.c: New test.
        * gcc.target/aarch64/orr_imm_1.c: Likewise..


Thanks
Sudi


From: Jakub Jelinek <ja...@redhat.com>
Sent: Friday, October 6, 2017 11:11 AM
To: Sudi Das
Cc: gcc-patches@gcc.gnu.org; nd; sell...@cavium.com; Marcus Shawcroft; Richard 
Earnshaw; James Greenhalgh
Subject: Re: [PATCH][AArch64] Fix ICE caused in aarch64_simd_valid_immediate
    
On Fri, Oct 06, 2017 at 09:52:35AM +0000, Sudi Das wrote:
> This patch is a fix for PR 82440.
> The predicates aarch64_reg_or_bic_imm and aarch64_reg_or_orr_imm missed out on
> checking for a CONST_VECTOR before calling aarch64_simd_valid_immediate 
> function.
> Also I think James forgot to add the test cases in the original patch 
> submitted.
> 
> Testing done : Checked for regressions on bootstrapped aarch64-none-linux-gnu.
> Ok for trunk?
> 
> Thanks
> Sudi
> 
> The ChangeLog entry is as follows:
> 
> *** gcc/ChangeLog ***
> 
> 2017-10-06  Sudakshina Das  <sudi....@arm.com>
> 
>        PR target/82440
>        * config/aarch64/predicates.md (aarch64_reg_or_orr_imm): Modified.
>        (aarch64_reg_or_bic_imm): Likewise.

I'll defer the actual review to aarch64 maintainers, just want to say that
this is not a correct ChangeLog entry.  You should say what has changed, not
just that something has changed.  Something like
Only call aarch64_simd_valid_immediate on CONST_VECTORs.
or similar.

        Jakub
    

Reply via email to