From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 081033858D39; Thu, 16 Nov 2023 01:06:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 081033858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700096785; bh=ssDAXKurspOnDzsi7fDczVfoENzxKmOuKWeG4Lem6zA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W73+yXxhqFZM+ahqMdqTREx2l9SCkWeuCIlu5qgM5S+ekw4Ay6wAZn2T6JIeEFkRf 7CE8HKIX0tukdgxOHwZw5jgJ8i65cZ60ugkMbpS4WSfzWubd+V2Z2Dp/+Jt3Akcqxm jYGqvtcBpoCKwa5UEHL0Hsz9+ekFVgbMZBEdTsOA= From: "juzhe.zhong at rivai dot ai" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109088] GCC does not always vectorize conditional reduction Date: Thu, 16 Nov 2023 01:06:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: juzhe.zhong at rivai dot ai X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D109088 --- Comment #21 from JuzheZhong --- Thanks Richi. Does re-associating (with eliminating exceptions) in if-convert is a reason= able approach ? If yes, I am gonna to revisit this PR on GCC-15 and refine the codes.=