From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Li Subject: Re: Simple SSA status Date: Thu, 7 Sep 2017 00:02:07 -0400 Message-ID: References: <20170903202629.bipsxi7xnmh3y3oy@ltop.local> <20170904200720.cxxfecd7rugyfskx@ltop.local> <20170905005553.lwwo3hcre3vlgafd@ltop.local> <20170907020312.yt6z5jsfb4xn6m2a@ltop.local> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-yw0-f176.google.com ([209.85.161.176]:32913 "EHLO mail-yw0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751055AbdIGECJ (ORCPT ); Thu, 7 Sep 2017 00:02:09 -0400 Received: by mail-yw0-f176.google.com with SMTP id s62so11797393ywg.0 for ; Wed, 06 Sep 2017 21:02:08 -0700 (PDT) In-Reply-To: Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Luc Van Oostenryck Cc: Dibyendu Majumdar , Linux-Sparse , Linus Torvalds On Wed, Sep 6, 2017 at 11:46 PM, Luc Van Oostenryck wrote: >> For reducible graph that algorithm converge in constant iteration. > > Where the 'constant' is a function of the loop complexity (maximum > nesting level) ... I think we are talking different things. My iteration means one pass of the reverse postorder. In the Keith Cooper et al paper end of first page: quote " show that reverse postorder iterative scheme solves these equations in a single pass over the CFG for reducible graphs. " page 2 reference 19 also mention solved in linear time on reducible graphs. It is just linear to the size of the CFG if graph is reducible. I don't recall it is related to maximum nesting level of loops. For the Simple SSA paper, maybe. Chris