From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A80603858C3A; Mon, 15 Jan 2024 08:37:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A80603858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705307832; bh=FN6ljvIoutok58Zd1+NLY3/tPelrhJ/aHxcwxUwFY7I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ahPXJfZIzIV0k+IoioT6N2gF/lRcBqrI23TljkCgeXSgNs3B8QyQ2Ns70ekmOqsq2 rMIa08XiCcbJwpqALDCZ8TYqXl0D0nidD59eu+Hk1s47BoZPxm8bhEFIgmtfSCIQYd JizCtMVEL3SFjyt+mEUgJtYqv9kbgqnB5MzsjIEM= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113380] `(a CMP CST) | (a*a CMP CST1)` is not optimized as decent as with `||` Date: Mon, 15 Jan 2024 08:37:08 +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: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D113380 --- Comment #1 from Richard Biener --- Interesting - smells like fold-const.cc stuff not in match.pd.=