From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87771 invoked by alias); 26 May 2017 11:15:58 -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 86937 invoked by uid 89); 26 May 2017 11:15:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-oi0-f52.google.com Received: from mail-oi0-f52.google.com (HELO mail-oi0-f52.google.com) (209.85.218.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 26 May 2017 11:15:54 +0000 Received: by mail-oi0-f52.google.com with SMTP id b204so8741648oii.1 for ; Fri, 26 May 2017 04:15:58 -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=nOYrNObCggkuoIdLwNadqUh7xf9EFPGS4875cbtkBog=; b=laS7II5OnEJmYlNRZs4g9X4F89Evma2Xdad+VJRpOMmXwTS6PuiiZQEs/g3QtX1pc2 jEmgWHzhkj5uHF0a2IL/o+2+laTybO0YV/VNTfuPrOAlct9wwEZItdDC3dotNTVE3WwK hwwHfpBKzf2SSTOCpWxPqjNI/wPx+M5dOibKTFXJ3NZvvx/kGFYMFNjMy2YpHigpdcQj vfVPLg6k9EUL2EhRFBZynFcuhTVmND9+6IwknZjj41A/yLkXedb2YtfFvPWOYnzPXI8x t1TwvKUxkdDM2IIeUzGFLTYAD2JpbCPF9zG/R11Vm5FnE0uFDZ3sVUcIxCmzMY2AF4ch Ribw== X-Gm-Message-State: AODbwcCWGwfd5sq3fWm/f9Gu4wQzSgeODM7VK/FXAyY6Uhva14VPBeKX lNpfdw66LyZBcAT1eveSRQwOlPhe3B0r X-Received: by 10.157.28.135 with SMTP id l7mr615997ota.87.1495797356887; Fri, 26 May 2017 04:15:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.51.83 with HTTP; Fri, 26 May 2017 04:15:56 -0700 (PDT) In-Reply-To: References: From: Richard Biener Date: Fri, 26 May 2017 11:16:00 -0000 Message-ID: Subject: Re: [PATCH GCC][2/6]Factor out code pruning runtime alias checks To: Bin Cheng Cc: "gcc-patches@gcc.gnu.org" , nd Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg02023.txt.bz2 On Tue, May 23, 2017 at 6:22 PM, Bin Cheng wrote: > Hi, > This is the second patch in the set, it factors out code pruning runtime alias > checks from file tree-vect-data-refs.c to tree-data-ref.c. It also introduces > new interface prune_runtime_alias_test_list so that we can use it in pass like > loop distribution. > Bootstrap and test on x86_64 and AArch64, is it OK? Ok. Richard. > Thanks, > bin > 2017-05-22 Bin Cheng > > * tree-vect-data-refs.c (Operator==, comp_dr_with_seg_len_pair): > Move from ... > * tree-data-ref.c (Operator==, comp_dr_with_seg_len_pair): To here. > * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Factor > out code pruning runtime alias checks. > * tree-data-ref.c (prune_runtime_alias_test_list): New function > factored out from above. > * tree-vectorizer.h (struct dr_with_seg_len, dr_with_seg_len_pair_t): > Move from ... > * tree-data-ref.h (struct dr_with_seg_len, dr_with_seg_len_pair_t): > ... to here. > (prune_runtime_alias_test_list): New decalaration.