From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24723 invoked by alias); 22 Sep 2014 10:53:46 -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 24714 invoked by uid 89); 22 Sep 2014 10:53:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f181.google.com Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com) (209.85.212.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 22 Sep 2014 10:53:45 +0000 Received: by mail-wi0-f181.google.com with SMTP id z2so2710037wiv.8 for ; Mon, 22 Sep 2014 03:53:42 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.181.13.105 with SMTP id ex9mr14661456wid.58.1411383222042; Mon, 22 Sep 2014 03:53:42 -0700 (PDT) Received: by 10.194.20.69 with HTTP; Mon, 22 Sep 2014 03:53:42 -0700 (PDT) In-Reply-To: <541AD488.9060900@arm.com> References: <541AC4D2.9040901@arm.com> <541AD488.9060900@arm.com> Date: Mon, 22 Sep 2014 10:53:00 -0000 Message-ID: Subject: Re: [PATCH 14/14][Vectorizer] Tidy up vect_create_epilog / use_scalar_result From: Richard Biener To: Alan Lawrence Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg01797.txt.bz2 On Thu, Sep 18, 2014 at 2:48 PM, Alan Lawrence wrote: > Following earlier patches, vect_create_epilog_for_reduction contains exactly > one case where extract_scalar_result==true. Hence, move the code 'if > (extract_scalar_result)' there, and tidy-up/remove some variables. > > bootstrapped on x86_64-none-linux-gnu + check-gcc + check-g++. Ok. Thanks, Richard. > gcc/ChangeLog: > > * tree-vect-loop.c (vect_create_epilog_for_reduction): Move code for > 'if (extract_scalar_result)' to the only place that it is true.