From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2AF48385840E; Wed, 15 Dec 2021 12:15:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AF48385840E From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies Date: Wed, 15 Dec 2021 12:15:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: missed-optimization, ra 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2021 12:15:03 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98782 --- Comment #30 from Tamar Christina --- (In reply to Martin Jambor from comment #29) > (In reply to Tamar Christina from comment #23) > > I wonder if we can get rid of the final magic parameter too, we run with > > --param ipa-cp-unit-growth=3D80 too which seems to have no more effect = on > > exchange, though still a slight effect on leela but a 12% gain in imagi= ck. > >=20 > > This looks like without the parameter we lose constprop on MorphologyAp= ply > > resulting in a much bigger function. Do you want me to make a new tick= et > > for this? >=20 > Indeed I did not know about this. I think tracking it in a (separate) PR > would make sense. Thanks a lot for the pointer! Thanks, created a new ticket https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103734 the threshold seems t= o be a lot lower than 80%, 20% seems to already be enough.=