From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luc Van Oostenryck Subject: Re: [PATCH v2 00/27] LLVM fixes Date: Sat, 11 Mar 2017 16:51:36 +0100 Message-ID: <20170311155135.kjxkiymcn7jo2ez2@macbook.local> References: <20170311090706.17171-1-luc.vanoostenryck@gmail.com> <20170311114903.zrhufw6ydneky3ya@macbook.local> <20170311123039.tcpo2dcajfmxwmsm@macbook.local> <20170311141201.kptzqgn4qpu3gaic@macbook.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-wr0-f176.google.com ([209.85.128.176]:33054 "EHLO mail-wr0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753988AbdCKPvk (ORCPT ); Sat, 11 Mar 2017 10:51:40 -0500 Received: by mail-wr0-f176.google.com with SMTP id u48so80768916wrc.0 for ; Sat, 11 Mar 2017 07:51:38 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Jeff Garzik Cc: Dibyendu Majumdar , Linux-Sparse , Christopher Li , Pekka Enberg On Sat, Mar 11, 2017 at 10:10:27AM -0500, Jeff Garzik wrote: > On Sat, Mar 11, 2017 at 9:16 AM, Dibyendu Majumdar > wrote: > > I still think pseudo values should have a type - then we won't need > > all the complexity! > > Yep, agreed - giving pseudos a type is both natural and intentional - > it is a natural outcome of the operation, and should be available > without any further lookups. Giving pseudos a type actually > simplifies complexity and makes tree manipulation (optimizer) easier. > > ...of course we need to maintain that type information correctly in > all cases and through all transformations... OK. The mini-serie I just posted *should* give (correct?) type information to all PSEUDO_VALs. Dibyendu, can you look if we can make good use of it? -- Luc Van Oostenryck