From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5732 invoked by alias); 21 Jun 2010 17:55:34 -0000 Received: (qmail 5484 invoked by uid 22791); 21 Jun 2010 17:55:32 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Jun 2010 17:55:29 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5LHtI5w006040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 Jun 2010 13:55:18 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5LHtIWY026973; Mon, 21 Jun 2010 13:55:18 -0400 Received: from [172.17.80.6] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o5LHtGsM017539; Mon, 21 Jun 2010 13:55:17 -0400 Message-ID: <4C1FA77F.9070809@redhat.com> Date: Mon, 21 Jun 2010 18:22:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4 MIME-Version: 1.0 To: Maxim Kuvyrkov CC: gcc-patches Subject: Re: 0004-Set-pseudos-only-once.patch References: <4C18F225.2040509@codesourcery.com> <4C18F46C.6090809@codesourcery.com> In-Reply-To: <4C18F46C.6090809@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-06/txt/msg02067.txt.bz2 On 06/16/10 09:57, Maxim Kuvyrkov wrote: > IRA and reload has special relationship with pseudos that are set only > once. When such pseudos initialized with constants or instances that > can be considered constant across the function, reload can > rematerialize them instead of spilling or apply other optimizations. > > This patch makes sure that we don't unnecessarily set same pseudo more > than once. > > OK to apply? OK. THanks, Jeff