From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F0BEF3858C3A; Mon, 6 Feb 2023 15:06:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0BEF3858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675696008; bh=Rq7TEctjRWS9lVOKwI5K8E6HZhponB6IKQC7tbgCIFI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oxK3We/77oDwlB7qveFVhizg800C5eBfHKH7DDI6QsU+L2hCj/+LHq5HzaEg2ZdPQ SpUFp2UUiR98vNyu9ypiqDIYx2w3Uue64PQZjVUl7p6str/5sR79lubIfaewMbfBy5 pckelbGBhYU9hR9Rkr2FuiSnwyiIfnFSOG7z+5B0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108316] [13 Regression] ICE in maybe_gen_insn via expand_SCATTER_STORE when vectorizing for SVE since r13-2737-g4a773bf2f08656 Date: Mon, 06 Feb 2023 15:06:48 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned 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=3D108316 --- Comment #3 from Jakub Jelinek --- Seems vect_check_gather_scatter sees that there is no scatter_storevnx2qivn= x2si nor mask_scatter_storevnx2qivnx2si and loops (in vect_gather_scatter_fn_p) to t= ry scatter_storevnx2qivnx2di instead which does exist. But in the expand during expansion we see one with rhs mode E_VNx2QImode and offset mode E_VNx2SImode rather than E_VNx2DImode that actually was supported. I'm afraid I don't know much about scatters/gathers using ifns rather than builtins though, especially for SVE.=