From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E4BA53857830; Tue, 11 Oct 2022 06:36:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E4BA53857830 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665470161; bh=dlJbttlcGH0aiBbS7gz7o34w+XmocyLqADjeGMDXoDQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nUb2ASbzGpBDigC63qkPWmlo8BLy3nUYFzEQnL6tXA3ZBFvT+cB7YzMN/7TtMcCOe yyPia9W+yfcWfOkZiqFJXdknH62IlVvJoRpr/fWx4Qj+WFXTq7ZE/Y5HIMZlv0mDEU V0+h/GSO8SmATNz/65Yj/S1Cgp6zEcNyZxxHT4lI= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/54346] combine permutations Date: Tue, 11 Oct 2022 06:36:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54346 --- Comment #7 from Hongtao.liu --- (In reply to Marc Glisse from comment #6) > The log says that this breaks tree-ssa/forwprop-19.c, but I don't see any > xfail or anything. Does it only fail because gimple-simplify leaves some > dead code around, so you could update the test to scan the next DCE pass > dump instead of forwprop1? Or are we missing a transformation that just > detects a VEC_PERM_EXPR with an identity permutation? Uoops, I didn't notice this, will add an incremental patch to handle the indentical index (forwporp-19.c) scenario=EF=BC=8C sorry.=