From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D8FD4385741B; Wed, 5 Oct 2022 12:22:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8FD4385741B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664972572; bh=EMrhsforjOMWwrQvdn6qhG6GZSlBr74C+JgY2a+I3/o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LO/cVILp3lCVzxSZkwU8OB8DHGbCkOzC5WggzKQMiTeP3amxR8aOshAl1OWixa9ck 4qc3e3Dfw1PZ/Pb/R7urq/Ux8mJoRCph494kvhbdY/Ln1HSsF7s5TeuD4lmXk+XRkz juk71V5p+G3DXGDHTQUyxTMTJXj/NQbataP7OLbw= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits Date: Wed, 05 Oct 2022 12:22:52 +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: cvs-commit at gcc dot gnu.org 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=3D107052 --- Comment #6 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:ae56d600d223e996054483d7d7033ec8e258d39d commit r13-3085-gae56d600d223e996054483d7d7033ec8e258d39d Author: Aldy Hernandez Date: Tue Oct 4 17:03:54 2022 +0200 [PR tree-optimization/107052] range-ops: Pass nonzero masks through cas= t. Track nonzero masks through a cast in range-ops. PR tree-optimization/107052 gcc/ChangeLog: * range-op.cc (operator_cast::fold_range): Set nonzero mask.=