From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101556 invoked by alias); 28 Nov 2017 17:43:20 -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 101539 invoked by uid 89); 28 Nov 2017 17:43:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Nov 2017 17:43:19 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 833C0356EB; Tue, 28 Nov 2017 17:43:18 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-12.rdu2.redhat.com [10.10.112.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id B7C7C60BE5; Tue, 28 Nov 2017 17:43:17 +0000 (UTC) Subject: Re: [032/nnn] poly_int: symbolic_number To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org References: <871sltvm7r.fsf@linaro.org> <871sltpz3a.fsf@linaro.org> From: Jeff Law Message-ID: <7c1f33f7-fa74-f4c0-349b-39b99da71a5f@redhat.com> Date: Tue, 28 Nov 2017 17:45:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <871sltpz3a.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg02442.txt.bz2 On 10/23/2017 11:12 AM, Richard Sandiford wrote: > This patch changes symbol_number::bytepos from a HOST_WIDE_INT > to a poly_int64. perform_symbolic_merge can cope with symbolic > offsets as long as the difference between the two offsets is > constant. (This could happen for a constant-sized field that > occurs at a variable offset, for example.) > > > 2017-10-23 Richard Sandiford > Alan Hayward > David Sherwood > > gcc/ > * tree-ssa-math-opts.c (symbolic_number::bytepos): Change from > HOST_WIDE_INT to poly_int64. > (perform_symbolic_merge): Update accordingly. OK. jeff