From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 367E83858C50; Fri, 26 Apr 2024 13:14:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 367E83858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714137248; bh=MmqqytY8+FtwZKfBWAL/nUFfujt92NPO0x/q2FB8yDU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aV3ZTO42wNPe+hbN2MQ2QK8LEDLHCnKYFuEweomLTjAgbMvG+ymTYT09p1Rwrccju LO/+q6UEAcHPmRzmsuPVt2IrRv7ErjyDbIsollQ0GAeNkaWEmpUu0ncHfEz9rnfgyK pfRhLzy7YJp8aURKvfc5T7l4W53VdJ6saZ5L3dSw= From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114801] [14/15 Regression] arm: ICE in find_cached_value, at rtx-vector-builder.cc:100 with MVE intrinsics Date: Fri, 26 Apr 2024 13:14:07 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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=3D114801 --- Comment #3 from Christophe Lyon --- lowpart_subreg does not work either. If we put the predicates in a variable in the testcase, then in function_expander::add_input_operand() x is already a (subreg/s/v:HI (reg:SI 116 [ _3 ]) 0) so taking gen_lowpart of that is OK (we just want HImode to = get the 16 bits of predicates). But when predicates are passed as a constant as in the testcase, we have x =3D (const_int -13108 [0xffffffffffffcccc]) and gen_lowpart (HImode, x) fails on that. I'm trying an approach to convert the constant into a vector of constants w= hose mode will V4BImode in this case.=