From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xi Wang Subject: Re: [PATCH 1/2] sparse, llvm: group PHI nodes at the top of each BB Date: Wed, 17 Oct 2012 02:53:48 -0400 Message-ID: <507E55FC.5010202@gmail.com> References: <1349825676-1713-1-git-send-email-j.neuschaefer@gmx.net> <5074BD6B.2090501@pobox.com> <20121010163306.GA2846@debian.debian> <20121016201426.GD2932@debian.debian> <507DC95C.7010106@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-qa0-f53.google.com ([209.85.216.53]:62432 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756034Ab2JQGxp (ORCPT ); Wed, 17 Oct 2012 02:53:45 -0400 Received: by mail-qa0-f53.google.com with SMTP id s11so202808qaa.19 for ; Tue, 16 Oct 2012 23:53:44 -0700 (PDT) In-Reply-To: Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Pekka Enberg Cc: =?UTF-8?B?Sm9uYXRoYW4gTmV1c2Now6RmZXI=?= , Jeff Garzik , linux-sparse@vger.kernel.org, Christopher Li , Jeff Garzik , Linus Torvalds On 10/17/12 2:48 AM, Pekka Enberg wrote: > Is LLVM able to optimize away the allocas and use registers instead in > the emitted code? Yes. See the last part of my previous email, no load/store/alloca after LLVM's -mem2reg pass. - xi