From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 607173858CD1; Thu, 4 Jan 2024 15:44:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 607173858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704383058; bh=slHtaJ4fBE9FGeO+eCbUqKr+u6vquTqQTE9Og9JrNqE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=M0qwO1QfMqmyzv4LS2peyOCihSXpZxW+R+/VwiW5dTItLQ3TvVe2kIdm6oyTxzNUv 62jcWCMeAJIrm9tvsXgz9WB+tv0tRohiN9ITlOTuU9FnoYeMn8YOittmSl4rJyCk0J sWnbSNP7X88xElT8sLb1/7Q1vbrXOLdeJum8yBac= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113234] missing folding to builtin_isunordered if manual nan comparison is used Date: Thu, 04 Jan 2024 15:44:17 +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: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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: bug_status component cf_reconfirmed_on keywords everconfirmed bug_severity 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=3D113234 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|rtl-optimization |tree-optimization Last reconfirmed| |2024-01-04 Keywords| |missed-optimization Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #2 from Andrew Pinski --- Even with -fno-trapping-math, we don't combine: _1 =3D i_3(D) !=3D i_3(D); _2 =3D j_4(D) !=3D j_4(D); _5 =3D _1 | _2; into: _5 =3D i_2(D) unord j_3(D); Confirmed.=