[llvm-commits] [llvm-gcc-4.0] r41748 - in /llvm-gcc-4.0/trunk/gcc: llvm-backend.cpp llvm-convert.cpp llvm-internal.h

Devang Patel dpatel at apple.com
Fri Sep 7 14:00:48 PDT 2007


On Sep 7, 2007, at 11:29 AM, Chris Lattner wrote:

>> URL: http://llvm.org/viewvc/llvm-project?rev=41748&view=rev
>> Log:
>> Replace GV from AttributeUsedGlobals list.
>
> Hey Devang,
>
> There is a problem with this patch: this will build the llvm.used
> global in nondeterministic order based on how the addresses of the
> GV's hash in the smallptrset.  To avoid this problem, you should use
> a SetVector or something like it.

Fixed. Thanks for catching this :)
-
Devang



More information about the llvm-commits mailing list