From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126943 invoked by alias); 2 Jun 2016 09:33:34 -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 126923 invoked by uid 89); 2 Jun 2016 09:33:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:265 X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 02 Jun 2016 09:33:32 +0000 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48896) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1b8P0M-0000nx-JB for gcc-patches@gnu.org; Thu, 02 Jun 2016 05:33:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8P0H-0003TT-0H for gcc-patches@gnu.org; Thu, 02 Jun 2016 05:33:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8P0G-0003TL-Qt for gcc-patches@gnu.org; Thu, 02 Jun 2016 05:33:24 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 64264C04B309; Thu, 2 Jun 2016 09:33:24 +0000 (UTC) Received: from localhost.localdomain (vpn1-7-194.ams2.redhat.com [10.36.7.194]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u529XLSd020674; Thu, 2 Jun 2016 05:33:22 -0400 Subject: Re: [PATCH 2/2][GCC] Add one more pattern to RTL if-conversion To: Mikhail Maltsev , Kyrill Tkachov , gcc-patches , Richard Biener References: <57430B42.8070505@gmail.com> <57430D0D.5040101@gmail.com> <57431089.6030202@foss.arm.com> <57448DB4.60600@gmail.com> From: Bernd Schmidt Message-ID: <574FFD60.7090109@redhat.com> Date: Thu, 02 Jun 2016 09:33:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <57448DB4.60600@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00132.txt.bz2 On 05/24/2016 07:21 PM, Mikhail Maltsev wrote: + target = expand_simple_binop (mode, (diff < 0) ? MINUS : PLUS, Parentheses around (diff < 0) aren't needed. Otherwise I think this is also OK. Bernd