This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH PR81267]Rewrite into loop closed ssa form in case of any store-store chain
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Bin Cheng <Bin dot Cheng at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Tue, 1 Aug 2017 10:49:16 +0200
- Subject: Re: [PATCH PR81267]Rewrite into loop closed ssa form in case of any store-store chain
- Authentication-results: sourceware.org; auth=none
- References: <DB5PR0801MB27422C1316E0F98D2CA9CB22E7B20@DB5PR0801MB2742.eurprd08.prod.outlook.com>
On Mon, Jul 31, 2017 at 4:14 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> This simple patch fixes the ICE by rewriting into loop closed ssa form in case
> of any store-store chain. We maybe able to avoid that for some cases that
> eliminated stores only store loop invariant values, but only with more checks
> when inserting final store instructions.
> Bootstrap and test on x86_64 and AArch64 ongoing. Is it OK?
Ok.
Thanks,
Richard.
> Thanks,
> bin
> 2017-07-31 Bin Cheng <bin.cheng@arm.com>
>
> PR tree-optimization/81627
> * tree-predcom.c (prepare_finalizers): Always rewrite into loop
> closed ssa form for store-store chain.
>
> gcc/testsuite/ChangeLog
> 2017-07-31 Bin Cheng <bin.cheng@arm.com>
>
> PR tree-optimization/81627
> * gcc.dg/tree-ssa/pr81627.c: New.