From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E6D963858D35; Tue, 7 Feb 2023 14:31:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E6D963858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675780275; bh=xNXvSebBbOgQPSLPGrE3bDEzG352+pO5TwpyzBO9k5w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iSuOfGviddxdgVp/M3GjrLpMC/CJOsidaa45oMwT8W5jeeVz8JkRBh2k1xn5IEifP fHeRx4B6g3eNjU337/lpTovIr0yG/OX1vD2KwRSDmKZs3DHZdMUaNCVXHghZwPYDER cShZOVkK7jHM1ueIQY3hI+IZUPdzLpKd+2s5TpZE= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108697] constructing a path-range-query is expensive Date: Tue, 07 Feb 2023 14:31:15 +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: 13.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: 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=3D108697 --- Comment #2 from Richard Biener --- Created attachment 54418 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54418&action=3Dedit replace vector with hash_map it's the clearing that shows up on the profile, I've experimented with the attached which removes it but the -ftime-report didn't change. Maybe that this function is top in the profile is an artifact of callgrind (I'm usually using that because you get nice coverage & call trac= es) still, an O(num-ssa-names) operation for each possible thread is a source of "quadraticness"=