From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C28C03858D20; Wed, 9 Aug 2023 06:48:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C28C03858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691563716; bh=F2yD7aUGrHBtH/GzuFHa0z6DypD+9/v7VqOXfbuoGeI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SRtpFuVIX3DNts0LddZkcFJDx9g19mH3pIyHFWm1zujJoh7cZ3XA0tgxg+b9lHMFe VNDg13VGiushLRhVwpKfmVtJouz1DnjatuWDdnqk/0H3Qk797N7Q8dTSUelyUaEgXu s0JOxyP48K97cymSBYkN6jy6FTCC+rdwbwXvxonc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/110587] [14 regression] 96% pr28071.c compile time regression since r14-2337-g37a231cc7594d1 Date: Wed, 09 Aug 2023 06:48:35 +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: 14.0 X-Bugzilla-Keywords: compile-time-hog, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110587 --- Comment #22 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b66e613a1a8d5b8fc9d8b03f7b60260700acf833 commit r14-3095-gb66e613a1a8d5b8fc9d8b03f7b60260700acf833 Author: Richard Biener Date: Tue Jul 25 15:36:30 2023 +0200 rtl-optimization/110587 - speedup find_hard_regno_for_1 The following applies a micro-optimization to find_hard_regno_for_1, re-ordering the check so we can easily jump-thread by using an else. This reduces the time spent in this function by 15% for the testcase in the PR. PR rtl-optimization/110587 * lra-assigns.cc (find_hard_regno_for_1): Re-order checks.=