From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9854 invoked by alias); 4 Nov 2011 10:25:21 -0000 Received: (qmail 9844 invoked by uid 22791); 4 Nov 2011 10:25:20 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 10:25:04 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 48A02CB0365; Fri, 4 Nov 2011 11:25:05 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wNz+gBoZ-8il; Fri, 4 Nov 2011 11:24:55 +0100 (CET) Received: from [192.168.1.2] (bon31-9-83-155-120-49.fbx.proxad.net [83.155.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 389F3CB0335; Fri, 4 Nov 2011 11:24:55 +0100 (CET) From: Eric Botcazou To: Paolo Bonzini Subject: Re: RFA: Fix dse / postreload not to bypass add expanders Date: Fri, 04 Nov 2011 10:37:00 -0000 User-Agent: KMail/1.9.9 Cc: Joern Rennecke , gcc-patches@gcc.gnu.org References: <20111101045348.qp9lxw7jhkogcook-nzlynne@webmail.spamcop.net> <201111032001.00867.ebotcazou@adacore.com> <4EB3BA25.7080204@gnu.org> In-Reply-To: <4EB3BA25.7080204@gnu.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201111041124.08441.ebotcazou@adacore.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2011-11/txt/msg00518.txt.bz2 > Unless I'm missing something, this is going all the way down to the end > of the function, bypassing the CFG, so it is neither efficient nor correct. No, gen_ functions doesn't emit the instructions. > For DSE you should set up backwards liveness simulation, and use that > instead of note_stores and insn scanning. DSE already does this sort of insn scanning. -- Eric Botcazou