From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102403 invoked by alias); 30 Oct 2015 15:18:05 -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 101612 invoked by uid 89); 30 Oct 2015 15:18:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 30 Oct 2015 15:18:03 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id D0C25544199; Fri, 30 Oct 2015 16:17:59 +0100 (CET) Date: Fri, 30 Oct 2015 15:19:00 -0000 From: Jan Hubicka To: Eric Botcazou Cc: Jan Hubicka , gcc-patches@gcc.gnu.org, Richard Biener Subject: Re: Add VIEW_CONVERT_EXPR to operand_equal_p Message-ID: <20151030151759.GJ37773@kam.mff.cuni.cz> References: <20151014162944.GE16672@kam.mff.cuni.cz> <20151029150215.GA34652@kam.mff.cuni.cz> <1739286.yXNLCe3m6q@polaris> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1739286.yXNLCe3m6q@polaris> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-10/txt/msg03416.txt.bz2 > > > But yes, the VIEW_CONVERT "stripping" is a bit fragile and I don't > > > remember what exactly we gain from it (when not done on registers). > > > > I guess gain is really limited to Ada - there are very few cases we do VCE > > otherwise. (I think we could do more of them). We can make > > useless_type_conversion NOP/CONVERT only. That in fact makes quite a sense > > because those are types with gimple operations on it. Perhaps also VCE on > > vectors, but not VCE in general. > > FWIW that's fine with me. Yes, Ada tends to generate a lot of VCEs but I try > to get rid of the useless ones as much as I can so assistance from the middle- > end is not really required. I'll test Richard's patch and install it if the > outcome is positive (unless you want to do the vector thing right away). Lets go with this patch and hopefully stabilize the tree. I don't think the vector conversions represent an important case. Honza > > -- > Eric Botcazou