[llvm-commits] Patch: avoid reanalyze a node twice in LegalizeTypes

Mon Ping Wang monping at apple.com
Tue Jan 13 00:16:11 PST 2009


Thanks.  I'll switch it to use SetVector.

   -- Mon Ping

On Jan 12, 2009, at 11:06 PM, Chris Lattner wrote:

>
> On Jan 12, 2009, at 10:20 PM, Evan Cheng wrote:
>
>> Traversal of SmallPtrSet elements is non-deterministic. You can use
>> either std::set or add a SmallPtrSet to supplement NodesToAnalyze
>> SmallVector.
>
> std::set of a pointer is also nondeterministic.  SetVector should work
> though,
>
> -Chris
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list