From patchwork Sat Aug 27 22:07:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Garzik X-Patchwork-Id: 1105302 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7RM7dm5002787 for ; Sat, 27 Aug 2011 22:07:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751717Ab1H0WHj (ORCPT ); Sat, 27 Aug 2011 18:07:39 -0400 Received: from mail-qy0-f174.google.com ([209.85.216.174]:57227 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751674Ab1H0WHi (ORCPT ); Sat, 27 Aug 2011 18:07:38 -0400 Received: by qyk15 with SMTP id 15so204882qyk.19 for ; Sat, 27 Aug 2011 15:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=6fWzHMuAAkDNAErEXM8FCHTV4t5VLqDLr03VJlQ4Oww=; b=h/xi9KR+MD50wvqHa1aLKeevfswVmw2buRxHyiJIm3R1/YpI7eBryQXDlg2IcU5N6K DH+djeqFgnGox/q6qDl8LDPcG8TxyvukymaVFqzYK7avqqAUMjBwrOUsQeb24i6QFzGs F8rBPSs4noXoLXunMpboEyGW4Y6xTN4cWPKiQ= Received: by 10.229.40.199 with SMTP id l7mr3681718qce.44.1314482857725; Sat, 27 Aug 2011 15:07:37 -0700 (PDT) Received: from bd.yyz.us (99-43-178-25.lightspeed.rlghnc.sbcglobal.net [99.43.178.25]) by mx.google.com with ESMTPS id b3sm2472042qcu.28.2011.08.27.15.07.36 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 27 Aug 2011 15:07:37 -0700 (PDT) Message-ID: <4E596AA5.9080401@garzik.org> Date: Sat, 27 Aug 2011 18:07:33 -0400 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: Kamil Dudka CC: Sparse Mailing-list , Pekka J Enberg , Linus Torvalds Subject: Re: linearize bug? References: <4E588EB8.80808@garzik.org> <201108271334.17659.kdudka@redhat.com> In-Reply-To: <201108271334.17659.kdudka@redhat.com> Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sat, 27 Aug 2011 22:07:39 +0000 (UTC) ------------------------------------------ -------------------------------------- That patch definitely gets much farther along in terms of handling loops. Jeff --- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/cse.c +++ b/cse.c @@ -316,12 +316,14 @@ static struct instruction * try_to_cse(struct entrypoint * b1 = i1->bb; b2 = i2->bb; +#if 0 /* * PHI-nodes do not care where they are - the only thing that matters * are the PHI _sources_. */ if (i1->opcode == OP_PHI) return cse_one_instruction(i1, i2); +#endif