From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21707 invoked by alias); 4 May 2011 12:23:49 -0000 Received: (qmail 21696 invoked by uid 22791); 4 May 2011 12:23:48 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from VLSI1.ULTRA.NYU.EDU (HELO vlsi1.ultra.nyu.edu) (128.122.140.213) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 04 May 2011 12:23:33 +0000 Received: by vlsi1.ultra.nyu.edu (4.1/1.34) id AA02337; Wed, 4 May 11 08:30:41 EDT From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Message-Id: <11105041230.AA02337@vlsi1.ultra.nyu.edu> Date: Wed, 04 May 2011 12:27:00 -0000 To: dnovillo@google.com Subject: Re: [google]: initialize language field for clone function struct Cc: davidxl@google.com, ebotcazou@gnat.com, gcc-patches@gcc.gnu.org, hubicka@ucw.cz, joseph@codesourcery.com, richard.guenther@gmail.com In-Reply-To: References: <201105041200.29307.ebotcazou@adacore.com> <20110504114442.1E15033C67@vlsi1.gnat.com> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg00290.txt.bz2 > There are pros and cons about early optimization, actually. > Generating extremely optimized IL very early can actually tie up > subsequent passes. For instance, loop unrolling and vectorization. > There are others in the literature. Sure, in the sorts of examples you mention where there's a level of "globality" to it. But I don't see it in the types of things that fold does. How could it ever be better to leave "a - a" in the tree instead of "0"?