From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23711 invoked by alias); 13 Jun 2017 11:06:42 -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 23694 invoked by uid 89); 13 Jun 2017 11:06:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=life X-HELO: mail-ot0-f181.google.com Received: from mail-ot0-f181.google.com (HELO mail-ot0-f181.google.com) (74.125.82.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Jun 2017 11:06:40 +0000 Received: by mail-ot0-f181.google.com with SMTP id a2so85159373oth.2 for ; Tue, 13 Jun 2017 04:06:44 -0700 (PDT) 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=MynzSVBn0Id5kfDWmpJJ19jQsSwki1YaVEBUfDCemOk=; b=pljBEc4cS5ql/nozHCdZfPzs+z2MArlXMIk7kFJdH68Up9g0Y4fhWlCKDaX3s5ezSS a2omiFJ1SBDcQf+KFlAHSCdIwt/X5WtDrKTyfCAkLBjUgG429OYShN1ve0Wtqywa2YiA uRZtFyrHtl/5PYds9X2kf4xsVZxZAxjpWujxFznWQg8u22+JQSCz+WnO/IMc+ZcvggJr g4PW+vvIKQJ3cNZUyv1mpLs8X4Q9tW/ENvHoABtkTrb9Wk7qPJrTUzr5CsxGt6ldh7z/ pr2HDz3zTd/It/aYF/tYGjFguSHWSBK7E8d6jeaiHc4X1OyGxWe0eb5v/5oUKGSq707I 8OHQ== X-Gm-Message-State: AKS2vOwRVjVrHLbMiUekgeQmpJJB6pu+a6a8MkWkhq+FCUJjXHG1yZP8 pYdTgjWVCuioyB1zV7Qww+EWkeqcX3IY X-Received: by 10.157.62.200 with SMTP id b66mr24810278otc.229.1497352003153; Tue, 13 Jun 2017 04:06:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.36.8 with HTTP; Tue, 13 Jun 2017 04:06:42 -0700 (PDT) In-Reply-To: References: From: Richard Biener Date: Tue, 13 Jun 2017 11:06:00 -0000 Message-ID: Subject: Re: [PATCH GCC][06/13]Preserve loop nest in whole distribution life time To: Bin Cheng Cc: "gcc-patches@gcc.gnu.org" , nd Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00898.txt.bz2 On Mon, Jun 12, 2017 at 7:02 PM, Bin Cheng wrote: > Hi, > This simple patch computes and preserves loop nest vector for whole distribution > life time. The loop nest will be used multiple times in on-demand data dependence > computation. > > Bootstrap and test on x86_64 and AArch64. Is it OK? Don't like it too much but I guess we can see if refactoring it back to pass down loop_nest can work. Ok. Thanks, Richard. > Thanks, > bin > 2017-06-07 Bin Cheng > > * tree-loop-distribution.c (loop_nest): New global var. > (build_rdg): Use loop directly, rather than loop nest. > (pg_add_dependence_edges): Remove loop nest parameter. Use global > variable directly. > (distribute_loop): Compute global variable loop nest. Update use.