From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A6D133858D1E; Fri, 11 Aug 2023 23:57:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6D133858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691798228; bh=03fJdCzplNLErwADwhNi77JALnZWaPN1+SpGpzetOcw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=R0lp9KBzSEtoN+l7HooO6/P0nwe3YAYDYB7NzFPK2CfomFqhec5fy8gyNjU4jVWv/ rXWUW1O0XF1sA3hHXr3S1PUuRWfDup643038ma3hMSO9xPnsY1D1djt1a1NDsG1s9L iggO+VDltyzeADKr7b2ae3RxacpRyFMEenW6gO/I= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110199] [12/13/14 Regression] Missing VRP transformation with MIN_EXPR and known relation Date: Fri, 11 Aug 2023 23:57: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, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 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=3D110199 --- Comment #2 from Andrew Pinski --- I Kinda see how to implement this by creating operator_min::fold_range/operator_max::fold_range but I am still new on usi= ng these interfaces so I am not 100% sure how to use them.=