From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 818B13858D28; Sun, 17 Sep 2023 01:27:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 818B13858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694914065; bh=8i3mMbk7I3dYv70bXX0nieZLKISn32CprW2VMCJuIDQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=klpZKIH7kNx8glvLxq+mSRT/Eu3Wz1WCQo6icc60quaTKXIEzzQydogF40STDW7Ro A0Elq19Ro3dEHWewcAs6OSHsMfUQyygE1ttdOThdmu2Yl5dGb8ECk5hA7zdofs3IEY ehZD7tx6kUJtfP9jCyWD7A4B5oBDkSNBT751JMog= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109960] [11/12/13/14 Regression] missing combining of `(a&1) != 0 || (a&2)!=0` into `(a&3)!=0` Date: Sun, 17 Sep 2023 01:27:40 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal 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: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D109960 --- Comment #9 from Andrew Pinski --- Created attachment 55915 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55915&action=3Dedit match pattern for the non-ifcombine case sometimes we need to handle this outside of ifcombine due to phiopt or other passes. So this adds that pattern.=