From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56096 invoked by alias); 5 Dec 2017 11:24:53 -0000 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 Received: (qmail 56070 invoked by uid 89); 5 Dec 2017 11:24:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-wm0-f66.google.com Received: from mail-wm0-f66.google.com (HELO mail-wm0-f66.google.com) (74.125.82.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Dec 2017 11:24:51 +0000 Received: by mail-wm0-f66.google.com with SMTP id l141so616179wmg.1 for ; Tue, 05 Dec 2017 03:24:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=O7cVfqT5LL5X1UDieQqvmElvf73wgcSaRGnBciage3I=; b=RYPNZRbAaF+jKv5oHhzRzVwz57BT1Fs8024jATU7fYBv7o87T0Ctok2r+3+wWE8tYO jgSv6m5j4QsYswJfR3f2j7E1jstcT/PeSVa/tqdun8VeVqP/mx0Tfm9C1HPIHrg+q1MY V+ZDPPLr8O8qY7ePk5FxTgnGV0qQzCxjjsTUjcpBTpGFglvWvcRWBkbiZ+erxArGAtj2 AS5Ur0MXQVU/sbYcknefROlwoeQCVn/bNldmc3g8zwHkzcbbkctedJ8m+xJPNn1iima/ IqfjIEN52CZt5ANJry/i6xfwxOuis0pBKD6F0pCAlxqTcS/3INJC8ncidB3IxLJeunH4 V+3A== X-Gm-Message-State: AJaThX4WvYwR/bEcg+j0wiY7JuvSdkaOll4NwQ6t13UthErMXvrKsAE9 2bwHMh1Bks1EkTMZ4I0rKDUqKXKnrjC/8Q4Nd80= X-Google-Smtp-Source: AGs4zMbLMXFcjw+Sm/43PB6/x3hjSyyweNp5NVSEr2vJ4uQJmUqyhFFKaCsft0W7SbgpSyY+3rIn7AYsUadT284BWd0= X-Received: by 10.80.195.12 with SMTP id a12mr35229531edb.142.1512473089588; Tue, 05 Dec 2017 03:24:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.143.34 with HTTP; Tue, 5 Dec 2017 03:24:49 -0800 (PST) In-Reply-To: References: From: Richard Biener Date: Tue, 05 Dec 2017 11:24:00 -0000 Message-ID: Subject: Re: [PATCH branch/gimple-interchange]obvious cleanup To: Bin Cheng Cc: "gcc-patches@gcc.gnu.org" , nd Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00201.txt.bz2 On Tue, Dec 5, 2017 at 11:07 AM, Bin Cheng wrote: > Hi, > This is an obvious cleanup patch doing variable renaming, function inlining. > Is it OK? Yes. Thanks, Richard. > Thanks, > bin > 2017-12-05 Bin Cheng > > * gimple-loop-interchange.cc (struct induction): Rename fields. > (dump_induction, loop_cand::analyze_induction_var): Update uses. > (loop_cand::undo_simple_reduction): Ditto. > (tree_loop_interchange::map_inductions_to_loop): Ditto. > (tree_loop_interchange::can_interchange_loops): Delete. > (tree_loop_interchange::interchange): Inline can_interchange_loops.