[llvm-commits] [llvm] r50963 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp

Chris Lattner clattner at apple.com
Mon May 12 09:52:09 PDT 2008


On May 12, 2008, at 1:15 AM, Owen Anderson wrote:

> Author: resistor
> Date: Mon May 12 03:15:27 2008
> New Revision: 50963
>
> URL: http://llvm.org/viewvc/llvm-project?rev=50963&view=rev
> Log:
> Move the various analyses used by GVN into static variables so we  
> don't have to keep passing them around or refetching them.

Hi Owen,

Instance variables are ok, but not globals.  Global variables mean  
that two instances of GVN can't be active at the same time.

-Chris




More information about the llvm-commits mailing list