From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 24ABC3858401; Fri, 12 May 2023 20:03:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24ABC3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683921822; bh=QQIFxsmSYnoT/mkFaCUkMpqx7JJRQzCoPqPcGjkRDxY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vQhk32JE76iRuf73e+yONdKfTtkz1U6TC9dzcnVojdQDC/BPL45ZZQU+bn0WYjIV4 wsa2Jl2WeoQrn9n4gM6NH186YUAYnw2VQqYXISa2nzYOlsBYhu4Rcl0mccZWh9DhL4 eFD+1BaLYwc6dZSMr1XOeu1vO0WIN/9BTjyDaZ+s= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109829] Optimizing __builtin_signbit(x) ? -x : x or abs for FP Date: Fri, 12 May 2023 20:03:41 +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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: 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=3D109829 --- Comment #5 from Jakub Jelinek --- Or canonicalize COND_EXPRs such that only ne and not eq appears in condition (and similarly to other comparisons)?=