From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21495 invoked by alias); 13 Mar 2013 20:10:26 -0000 Received: (qmail 21258 invoked by uid 48); 13 Mar 2013 20:09:50 -0000 From: "steven at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/38134] [4.6/4.7/4.8 Regression] speed regression with many loop invariants Date: Wed, 13 Mar 2013 20:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: steven at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.4 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 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: 2013-03/txt/msg01057.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38134 --- Comment #21 from Steven Bosscher 2013-03-13 20:09:42 UTC --- (In reply to comment #20) > Ok, the goal would be to have all !targetm.legitimate_constant_p () > constants assigned to a pseudo (and in GIMPLE to an SSA name). I'm not sure this would be a very useful thing to do. What is a legitimate constant for one insn may be non-legit for another. You may end up doing more harm than good...