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

Chris Lattner clattner at apple.com
Mon Jan 12 23:06:51 PST 2009


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




More information about the llvm-commits mailing list