From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B5080385EC56; Mon, 29 Apr 2024 13:51:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5080385EC56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714398680; bh=Z/1KCTdYaDMAySA3Aj9/hK5ffjIQCZi6yRgM0tTPSIE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NsFfruzQQMHb+SksZJtAySmj4vlA3AiVpENkn+jtJYkdDaaR6l+pzJ0CxlWWzwYil KFhDbQRA/wP2H+M0OgX3oiz1Wx9LE9p62gxYb1FXafM8iwT5BG70JBr7FB+k5QhmUc oj/PGEELmXgPAmipO3Yd69wD4S+3zijPMtkaQOyA= From: "jakub 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: Mon, 29 Apr 2024 13:51:19 +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: jakub 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 #20 from Jakub Jelinek --- Pretending a boolean mode has non-boolean value is invalid RTL (or GIMPLE). So, the rtx-vector-builder.cc change looks wrong to me. If you want to handle the predicate elements with element values other than= all 0s or all 1s some special way, like handling it as a predication, then I th= ink you should stop pretending it is a boolean mode, use partial int mode or something similar instead. But such a change doesn't feel safe for 14.1.=