From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C1E3A385842C; Wed, 18 Oct 2023 08:55:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1E3A385842C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697619305; bh=QOgo6kIgPxNzgR6p8H1l+IbuGZMBw3mmQPs8Gm7KWN0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GHJM20QHUrRV7byvL9Gktu3P8fysvFAWAluG3zEaCB8y10LF+oj61mtMGhElDiKbq XPsh6CglUf8WIj6gDXQaUX/p7Oq0h2A4zlOBl6jIETR6mjiWjoWUe1+xX3aKWswc3w UR+j0+pk98hYh3VuP0O5b7+Yc7uKxmNHkUNN/gOY= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109154] [13/14 regression] jump threading de-optimizes nested floating point comparisons Date: Wed, 18 Oct 2023 08:55:04 +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: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 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=3D109154 --- Comment #73 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:dd28f90c95378bf8ebb82a3dfdf24a6ad190877a commit r14-4716-gdd28f90c95378bf8ebb82a3dfdf24a6ad190877a Author: Tamar Christina Date: Wed Oct 18 09:49:36 2023 +0100 ifcvt: rewrite args handling to remove lookups This refactors the code to remove the args cache and index lookups in favor of a single structure. It also again, removes the use of std::sort as previously requested but avoids the new asserts in trunk. gcc/ChangeLog: PR tree-optimization/109154 * tree-if-conv.cc (INCLUDE_ALGORITHM): Remove. (typedef struct ifcvt_arg_entry): New. (cmp_arg_entry): New. (gen_phi_arg_condition, gen_phi_nest_statement, predicate_scalar_phi): Use them.=