This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] re PR tree-optimization/90883 (Generated code is worse if returned struct is unnamed)
- From: Jeff Law <law at redhat dot com>
- To: Kito Cheng <kito dot cheng at sifive dot com>, gcc-patches at gcc dot gnu dot org, kito dot cheng at gmail dot com, jimw at sifive dot com, msebor at gcc dot gnu dot org, wilco at gcc dot gnu dot org
- Date: Thu, 05 Mar 2020 08:42:14 -0700
- Subject: Re: [PATCH] re PR tree-optimization/90883 (Generated code is worse if returned struct is unnamed)
- References: <20200303073437.102889-1-kito.cheng@sifive.com>
- Reply-to: law at redhat dot com
On Tue, 2020-03-03 at 15:34 +0800, Kito Cheng wrote:
> After add --param max-inline-insns-size=1 all target will remove the
> redundant store at dse1, except some targets like AArch64 and MIPS will
> expand the struct initialization into loop due to CLEAR_RATIO.
>
> Tested on cross compiler of riscv32, riscv64, x86, x86_64, mips, mips64,
> aarch64, nds32 and arm.
>
> gcc/testsuite/ChangeLog
>
> PR tree-optimization/90883
> * g++.dg/tree-ssa/pr90883.c: Add --param max-inline-insns-size=1.
> Add aarch64-*-* mips*-*-* to XFAIL.
OK from me as well.
jeff
>