From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3A2163954C67; Thu, 17 Nov 2022 08:22:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A2163954C67 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668673333; bh=M1aWl7kl13KmsIUBdWjnCpNhG73s66vtXVkFaQsQ9Lw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hgO4mCif8zoeM+r/I0YnazRwNYuZVuYBOJzL4vMnBSuEtHaGxPVkDkQmwbl+9zEZh iax0rezqAZMWW8uuQ7Y8/AzpEdMMf4G4KUukI8/AqXzwfwHKhcxNbwb4FhaoLBcoFz cc0xDFCyCMSQS+PLdSyEJmKmI3A5CTdtsbkTxFrQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107717] [13 Regression] ICEs expanding permutes after g:dc95e1e9702f2f6367bbc108c8d01169be1b66d2 Date: Thu, 17 Nov 2022 08:22:10 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D107717 --- Comment #2 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:cbe313060cdcf1d857d42a9e16a1a03e5ff89fff commit r13-4123-gcbe313060cdcf1d857d42a9e16a1a03e5ff89fff Author: Tamar Christina Date: Thu Nov 17 08:20:59 2022 +0000 middle-end: ensure that VEC_PERM operands get lowered to the same SSA_N= AME. [PR107717] At the moment when the VEC_PERMs generated by this match.pd rule is generated it creates two different SSA_NAMEs for the folded operand. Because of = this it the permute switches from a single operand permute to a two operand per= mute and the target may no longer support a permute for this. This fixes it by ensuring we generate the same SSA_NAME for both operan= ds. gcc/ChangeLog: PR tree-optimization/107717 * match.pd: Ensure same SSA_NAME. gcc/testsuite/ChangeLog: PR tree-optimization/107717 * gcc.target/aarch64/sve2/pr107717.c: New test.=