From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4085B3858CDB; Mon, 6 Nov 2023 12:03:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4085B3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699272212; bh=VR/Lt13QcNW/uqfsbemSnScdol2tsJF5fgk0/eRYupc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hsx40hTht9dSNoW8LqejN89dFVrFgBl5I6SQBVW61xQDCIj0UipGJ+0SzpGp+0GAx 6o99+bDSiN6G/BnTl+rMCovXA/1xKrF6LCNyWvcuKlOcbM3rgH5rEWtoZYIayzvbjv 4fEl1usWvxzEq/QsQeMTEWuIsIaz44wf3e6n/dkg= From: "rdapp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112359] [14 Regression] ICE: in expand_fn_using_insn, at internal-fn.cc:215 with -O -ftree-loop-if-convert -mavx512fp16 Date: Mon, 06 Nov 2023 12:03:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rdapp 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: 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=3D112359 --- Comment #2 from Robin Dapp --- Would something like + bool allow_cond_op =3D flag_tree_loop_vectorize + && !gimple_bb (phi)->loop_father->dont_vectorize; in convert_scalar_cond_reduction be sufficient or are the more conditions to check still? Testing with the above and the reduced testcase worked FWIW.=