From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 424613858C41; Mon, 4 Mar 2024 13:32:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 424613858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709559141; bh=yRhEnBIwO08ck750FWX1IJe5aTlEfiSQuXUfkO+mhu4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LWpzTMKDCaLC3riioW4uPC+8UtCh1PoVarZhaoOMyU1X4V0JsW0iE8ho0xBvEesHc 07FQ82BPwHcscAlcEM1JJRAOXb3zymccPlAdVAqklo6Mwc/sMycHjVsUPKXDxlnzIM tHQav79KJBziQEJ/nJj3UobpckK92KN6G45vRoH8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114228] [14 Regression] memset/memcpy loop not always recognised with -Os Date: Mon, 04 Mar 2024 13:32:20 +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: 14.0 X-Bugzilla-Keywords: missed-optimization, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed keywords cf_reconfirmed_on bug_status target_milestone short_desc 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=3D114228 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |needs-bisection Last reconfirmed| |2024-03-04 Status|UNCONFIRMED |NEW Target Milestone|--- |14.0 Summary|memset/memcpy loop not |[14 Regression] |always recognised with -Os |memset/memcpy loop not | |always recognised with -Os --- Comment #1 from Andrew Pinski --- Confirmed. The IR is the same before coming into ldist . ldist in 13.2.0 had: ``` ldist creates useful parallel partition: 0, 1, 2, 3, 4 Applying pattern match.pd:365, generic-match.cc:23462 distribute loop <1> into partitions: ``` But the trunk: ``` ldist asked to generate code for vertex 3 ldist creates useful parallel partition: 0, 1, 2, 3, 4 Loop 1 not distributed. ``` But no reason why though.=