From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82924 invoked by alias); 13 Jun 2017 10:47:29 -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 81302 invoked by uid 89); 13 Jun 2017 10:47:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:10.28.144.6, (unknown) X-HELO: mail-wr0-f181.google.com Received: from mail-wr0-f181.google.com (HELO mail-wr0-f181.google.com) (209.85.128.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Jun 2017 10:47:27 +0000 Received: by mail-wr0-f181.google.com with SMTP id 36so14959887wry.3 for ; Tue, 13 Jun 2017 03:47:32 -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=Q9dqu0AsxOam5fZeEgAQt6ZO3B+Ah+GqQn5QDKxjacQ=; b=M2LVCbvlj1UmV6tn/6lGnR7darJ8I7JchHHY6AKRjk+ZJrmuwbJ6ZBeK3oWPy6NPO5 gc64KrRsVDyCpPQMTdqMj9EMO40ZO1R5OIqghPlBqG9Qm5j4NE6eAWLKV09k/tBEqZjp q79/dIWwRzwhqGzZnoKtG+gTkDjgNokKj6uhW2ymdJdQ1UEwSVq5SNoA1I4iDxgAhYID zc38l5IVSvsPOA4jsO7teU9rh52zmNDyCeGE5HAsOQEGg/yWf6jNF6LA6ofavd62txtY D86ToUcAyKC1PY4xT0OmBt5VKSgMw2nJnqckDbNyBROJ+jYBz3cTZR+bot8OTBMPu2mA VORw== X-Gm-Message-State: AKS2vOx2G9YSxggKJtVBksCLu58eqxVNA2IPHVeG4t2UNjElQS2nKCTX /WyVVMD09Po7X121dQbnOvhiGwpqYw== X-Received: by 10.28.144.6 with SMTP id s6mr10856291wmd.118.1497350850552; Tue, 13 Jun 2017 03:47:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.2.194 with HTTP; Tue, 13 Jun 2017 03:47:30 -0700 (PDT) In-Reply-To: References: From: Richard Biener Date: Tue, 13 Jun 2017 10:47:00 -0000 Message-ID: Subject: Re: [PATCH GCC][03/13]Mark and skip distributed loops 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/msg00892.txt.bz2 On Mon, Jun 12, 2017 at 7:02 PM, Bin Cheng wrote: > Hi, > This simple patch marks distributed loops and skips it in following distribution. > > Bootstrap and test on x86_64 and AArch64. Is it OK? This is not necessary, FOR_EACH_LOOP first builds a vector of loops to iterate over so it will never pick up loops added during iteration. Richard. > Thanks, > bin > 2017-06-07 Bin Cheng > > * tree-loop-distribution.c (generate_loops_for_partition): Mark > distributed loops. > (pass_loop_distribution::execute): Skip distributed loops.