From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 724AB3858D32; Sun, 15 Oct 2023 18:58:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 724AB3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697396305; bh=AMkGRlbw2yZ+R/qSghL7ecMTnsNAECl+JQHvD83MKD8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mFemUuWvI9ZGbtiOc59hRYHycX5gRW2ARW1WSSmOyHo6vQj3oIjugrFtt37bGyEku JstyYI18BVjlj8OjdVkls4Vijgw8JDDCjhoMxFs18vId5klQBkBQ1ia8G+YsO1mJSS dFsAOBgjiyqunJtLvxttrj+YDQMcxV1jN9VyWziA= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/104376] Failure to optimize clz equivalent to clz Date: Sun, 15 Oct 2023 18:58:25 +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: 12.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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=3D104376 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #7 from Andrew Pinski --- I have a fix for the secondary issue which does not cause PR 71016 to show = up again. Basically we should allow nop conversions always in factor_out_conditional_operation .=