From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11375 invoked by alias); 24 Nov 2009 10:02:06 -0000 Received: (qmail 11119 invoked by uid 22791); 24 Nov 2009 10:02:05 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Nov 2009 10:02:02 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NCsDg-0003ph-8q for gcc-patches@gcc.gnu.org; Tue, 24 Nov 2009 11:02:00 +0100 Received: from 85.93.118.17 ([85.93.118.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Nov 2009 11:02:00 +0100 Received: from bonzini by 85.93.118.17 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Nov 2009 11:02:00 +0100 To: gcc-patches@gcc.gnu.org From: Paolo Bonzini Subject: Re: Whole program optimization and functions-only-called-once. Date: Tue, 24 Nov 2009 10:21:00 -0000 Message-ID: References: <20091112161638.GC11341@atrey.karlin.mff.cuni.cz> <38a0d8450911170646g11012cc8mcee8ff2eda093d49@mail.gmail.com> <4B02BBC9.8000502@moene.org> <38a0d8450911170802m297ee621v152a2675c7606280@mail.gmail.com> <38a0d8450911170850l12509322kce74159cc7eaeefe@mail.gmail.com> <4B0448A1.5010209@moene.org> <20091118203512.GA19839@kam.mff.cuni.cz> <4B045E0C.2010902@moene.org> <4B07D4A3.8070908@moene.org> <4B08BB83.2080005@redhat.com> <84fc9c000911220947j122bd3baq32e66f46397850f7@mail.gmail.com> <4B0AB69C.2050107@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4 In-Reply-To: <4B0AB69C.2050107@redhat.com> X-IsSubscribed: yes 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: 2009-11/txt/msg01337.txt.bz2 On 11/23/2009 05:21 PM, Vladimir Makarov wrote: > There are a lot questions about heuristics (# min number may divide in > two very different parts -- one very small and one very big). You can find blocks that postdominate the entry BB and dominate the exit BB, and split at the middle one. Paolo