From patchwork Thu Mar 20 17:40:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dehao Chen X-Patchwork-Id: 332337 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B86DA2C0097 for ; Fri, 21 Mar 2014 04:41:07 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=OLmI9zYDx+YNwW5jX9 sdq5vSVlSmumutmhFDrgZ5sVIg2YxIEHOkkvM+eDQ1WL+k26Ne9wIU7sw0IA/Yn+ 8RJAQnkwsPhZZto5LgHvmAZZfxsQTfms+CtmawTXN8EFTgCOvdVTy2L5wy/libTI 5dUcMVuMZwoTypcLw0SwXQV1o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=XVTwOW/P6TJkQDSUIDPW1X2E /fw=; b=nvNk6Mhosy7pEZZbyRg2/6UQpYDALSRtCmNahX0PZxFdFQw/d8hYs1Hm +qRIn3DnVlqTC73PACuVAoTbUTn7KZZ6P+tH5LB04ga7HqgPX/a6VNzRlczuvBXA NYyc1qFuVHmxv4xLX3BeJeBzOyo53jHqWSboXWikI1za2I3pbmI= Received: (qmail 13509 invoked by alias); 20 Mar 2014 17:41:00 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 13498 invoked by uid 89); 20 Mar 2014 17:40:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-ie0-f181.google.com Received: from mail-ie0-f181.google.com (HELO mail-ie0-f181.google.com) (209.85.223.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 20 Mar 2014 17:40:58 +0000 Received: by mail-ie0-f181.google.com with SMTP id tp5so1190620ieb.26 for ; Thu, 20 Mar 2014 10:40:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bKwCqgnFZ8pqY2bczOSVieYgduRQxVIITaCvn5TMn7c=; b=XMkhL4Z+YMHELl6Spk4kuiGbpJc+LTbbRMAf3YkJc4OEJOiZgUHUZisQr1EtzE1iwt bQCIyuKfjWVFtPOIB5DdLvaae6D3jCjJKm6x5ZUmMpSo6niKf3UAstlAmtsov5Yil4JX 4h4+nhAgjmijPBJjlVGyLfY/arxPE5nOK2rlzJzTj/2CQA71qeS/6IyR/vPoWGrhl2ip qIy98CGkjDDYnshrbkKUDAmOSKiMYjzGtepU//mu/KEttGJcCrbs5hRLxm5BfPplM+pl xGBZyle7NCwC75Y+s4mLJrwG4qWzhDewDSleypz9djiP8e3YiZU0QZOw95Cq4+wgd0Pc 9xkQ== X-Gm-Message-State: ALoCoQm3Looja6Idzrq4SNfklYCKqdENCTHWmclF02KvDROLUGWr161O20m//XGQSCHJGOYYn8wVaaNdPlIP16P5oPhhoyZnsrBVU151HLiS7NaoVkhTtTs93HINlo79qwJ34c7Oo6Q54j8/PvY4nCCef5E6JrgS8hjb1MHrcEcmeGY9ewN1Xq17gv9Os8WPhAsrjdfpUEcUZZFaW8Oeam1EB+pDnsLbMg== MIME-Version: 1.0 X-Received: by 10.50.143.107 with SMTP id sd11mr4281263igb.39.1395337256254; Thu, 20 Mar 2014 10:40:56 -0700 (PDT) Received: by 10.64.18.207 with HTTP; Thu, 20 Mar 2014 10:40:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 20 Mar 2014 10:40:56 -0700 Message-ID: Subject: Fwd: [GOOGLE] update ssa before compute_inline_parameters From: Dehao Chen To: GCC Patches Cc: David Li X-IsSubscribed: yes This patch calls update_ssa before compute_inline_paramters. Bootstrapped and perf test on-going. OK for google-4_8? Thanks, Dehao autofdo::afdo_annotate_cfg (promoted_stmts); Index: gcc/auto-profile.c =================================================================== --- gcc/auto-profile.c (revision 208726) +++ gcc/auto-profile.c (working copy) @@ -1613,6 +1613,7 @@ auto_profile (void) early_inliner (); } + update_ssa (TODO_update_ssa); compute_inline_parameters (cgraph_get_node (current_function_decl), true); early_inliner ();