From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4CB293858029; Wed, 19 Oct 2022 10:07:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4CB293858029 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666174063; bh=T+TsGAoqdpK2zNHM6V9m+jd+cHGkaMugzlC0QWu1XJM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lWJ8mGFeec1V7q36kcYA8EhC8pUnGpXhes5IzjoOsOwQ2buujfJ3uYqk083GiLZbO 8Z1e+SrniUNOhdWTru/hCDBIyBRm/rmnvolx803rDFKys4Q0mc1NcOh9k9SHPbqL2O 6wVzMDeRyhvdB3xHBxGxl9ijvapf3rhnjCJT+fDU= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/105546] [11/12/13 Regression] ifconversion introduces many compares with loads Date: Wed, 19 Oct 2022 10:07:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.3.0 X-Bugzilla-Keywords: missed-optimization, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D105546 --- Comment #5 from Richard Biener --- Created attachment 53729 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53729&action=3Dedit patch to limit sinking I was playing with this, limiting sinking to two PHI nodes in this case but then with two passes we still get four stores sunk so it doesn't really hel= p. out-of-SSA could do the reverse transform for expensive constant PHI args.=