From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ECC9C385DDD2; Tue, 11 Jun 2024 18:21:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ECC9C385DDD2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718130068; bh=WnHFfo065UZ23tdaofXcBg6yetT+TQVo9NhaxesU3ek=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MhsXK6LXA9n8HPqa6aCNHLYvP4Boog5R60TUlX8TKSD4jEx44OpGZvJ0mTFi7ZNN5 hNSqSb3oVDxEFJdHwH4aeqc8+2xsYsl/P0tuQjYU6JTqJafUJZpETMXn0ViAj+tG0k vRgoShPGmkLnyd+EXo8KXUOuODBC0qQ5iQodS4CE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115439] [15 Regression] ICEs after r15-638 on master-thumb_m55_hard_eabi Date: Tue, 11 Jun 2024 18:21:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 15.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=3D115439 --- Comment #4 from Andrew Pinski --- I think something like this: ``` [apinski@xeond2 arm]$ git diff mve.md diff --git a/gcc/config/arm/mve.md b/gcc/config/arm/mve.md index 9fe51298cdc..8af4797e935 100644 --- a/gcc/config/arm/mve.md +++ b/gcc/config/arm/mve.md @@ -6897,6 +6897,12 @@ (define_expand "vcond_mask_" (match_operand:MVE_VLD_ST 2 "s_register_operand")))] "TARGET_HAVE_MVE" { + if (!register_operand (operands[3], mode)) + operands[3] =3D force_reg (operands[3]); + if (!register_operand (operands[1], mode)) + operands[1] =3D force_reg (operands[1]); + if (!register_operand (operands[2], mode)) + operands[1] =3D force_reg (operands[2]); switch (GET_MODE_CLASS (mode)) { case MODE_VECTOR_INT: ``` Signed-off-by: Andrew Pinski =