From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2B8CF394FC34; Thu, 17 Mar 2022 14:18:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2B8CF394FC34 From: "hubicka at kam dot mff.cuni.cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r Date: Thu, 17 Mar 2022 14:18:19 +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: 12.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at kam dot mff.cuni.cz 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: 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: Thu, 17 Mar 2022 14:18:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102943 --- Comment #50 from hubicka at kam dot mff.cuni.cz --- > It helps quite a bit, the worst case is now >=20 > tree VRP : 5.14 ( 7%) 0.02 ( 3%) 5.15 = ( 7%) > 2 > 9M ( 3%) > backwards jump threading : 4.05 ( 6%) 0.00 ( 0%) 4.06 = ( 6%) > 222 > 0k ( 0%) >=20 > overall the patch reduces compile time from 766s to 749 (parallel compile, > serial LTO, release checking). So IMHO definitely worth it if you are ha= ppy > with it. This looks really promising. Does it also solve the situation with --param param_inline_functions_called_once_insns=3D1000000 I will benchmark how copmile time now behaves with respect increasing this bound. Honza=