[llvm-commits] [llvm] r85253 - in /llvm/trunk/lib/CodeGen: PseudoSourceValue.cpp SelectionDAG/SelectionDAGISel.cpp

Owen Anderson resistor at mac.com
Tue Oct 27 12:08:03 PDT 2009


On Oct 27, 2009, at 10:02 AM, Chris Lattner wrote:

> Author: lattner
> Date: Tue Oct 27 12:02:08 2009
> New Revision: 85253
>
> URL: http://llvm.org/viewvc/llvm-project?rev=85253&view=rev
> Log:
> pseudosourcevalue is also still using getGlobalContext(), so it isn't
> thread safe either.

This is deliberate.  PSV uses the things it creates as sentinels, so  
there's no need to worry about them being uniqued with existing ones.   
As long as no other value compares equal to them, everything works.

--Owen



More information about the llvm-commits mailing list