From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55BC43857C4F; Mon, 10 Jul 2023 11:49:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55BC43857C4F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688989769; bh=LzdbLacDusRQFdobwcDj3eZLW/5rbymQVWRCv4mXWOo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=taqDO6Pptp1nUXYmgEKKo7F+7HKN06ih1ci3Sq6NMYakXQPw/LFbzswhMWYxfVm0x wudaGCkBSCpdLPbWDj4ROK8E8pdmvhVq+CgoD2v5FvsCho1idzOphtIgbKjCMRFR2o W3c8OJ3tB9Ku1LDzrS4aScEuJb4qcbGHi3K1KpLc= From: "tnfchris 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: Mon, 10 Jul 2023 11:49:28 +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: tnfchris 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.2 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 #65 from Tamar Christina --- > >=20 > > In which case ifcvt could move the cond to just before the first shared > > statement? >=20 > I don't think PRE "knows" where the operation was created from since it's > transforms from a global dataflow problem solution. >=20 > Btw, what's the testcase your last examples are from? It's from https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54777 See https://godbolt.org/z/KfzW4ob4Y=