From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D69A385145C; Mon, 11 Apr 2022 08:38:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D69A385145C From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2 Date: Mon, 11 Apr 2022 08:38:47 +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: missed-optimization, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: Mon, 11 Apr 2022 08:38:47 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105216 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #2) > I suppose it's good again with -fno-tree-vectorize? With vectorization > enabled we tame down PRE to avoid creating loop carried dependences the > vectorizer cannot handle. For the "important" opportunities we try to > recover after vectorization with predictive commoning. >=20 > Hmm, confirmed with -fno-tree-vectorize even. >=20 > Possibly caused by r12-7389-ge25dce50133405 Nope, reverting that doesn't fix it. Note it seems the GCC 11 branch head also regressed compared to r11-8866-g056e324ce46a79 but not as much as trunk. Note I can reproduce ~2% regression from that 11 branch rev on the branch and ~4% towards trunk so it's also a bit noisy.=