From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9C942385DC32; Thu, 16 Apr 2020 12:40:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C942385DC32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587040811; bh=jenLnPJsCA3hL8K0+e+n/ZgX4BCu4f0UpSoTwz0qfok=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DLxV1P4EsDQTiCVaXlU/uxgaJd6St22dAg7BbPfuaVFybxejqbT3E2AwtxVxBqOd8 6hYxJLZQu2VIexetuh+WyKj7Id+JhnVKb3DHrrXlUJEtLgwIW6abyKGRJ+ytdm9e1B tU3zAC3r75KJSLMRQHod/ag57Le+/zKIFZQTFQns= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/33315] stores not commoned by sinking Date: Thu, 16 Apr 2020 12:40:11 +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: 4.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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, 16 Apr 2020 12:40:11 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D33315 --- Comment #14 from Richard Biener --- (In reply to Richard Biener from comment #13) > (In reply to Richard Biener from comment #12) > > Created attachment 48279 [details] > > patch > >=20 > > Patch forward ported to current trunk. >=20 > Surprisingly small fallout: >=20 > FAIL: gcc.dg/tree-ssa/split-path-7.c scan-tree-dump-times split-paths > "Duplicating join block" 0 >=20 > I've thought the approach is too simplistic but I'll do some statistics > over bootstrap in stage1 and push it if it looks useful - we certainly > have more "hackish" optimization pieces. stage3 gcc/ files show (first column is the number of edges we sink from, second column the number of stores we sink): 2: 3195 3: 193 4: 130 5: 55 6: 28 7: 4 8: 9 9: 3 10: 3 12: 1 13: 6 16: 2 18: 1 22: 2 so it seems worth it.=