From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4191 invoked by alias); 15 Jul 2011 20:16:51 -0000 Received: (qmail 4179 invoked by uid 22791); 15 Jul 2011 20:16:48 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jul 2011 20:16:34 +0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/49749] Reassociation rank algorithm does not include all non-NULL operands X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 15 Jul 2011 20:16:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg01273.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49749 --- Comment #6 from William J. Schmidt 2011-07-15 20:15:09 UTC --- We ran some experiments attempting to restore the r161839 behavior, either by lowering the rank of memory references or raising the rank of phi references. Although both experiments restored bwaves code generation to respectability, several other benchmarks suffered, so this is not a general answer. Any thoughts on more limited heuristics that might help the bwaves scenario? It seems that copyrename needs help from reassoc to find the opportunity; perhaps reassoc can be tweaked to recognize situations that will help copyrename downstream?