[llvm-commits] [llvm] r167942 - /llvm/trunk/lib/Transforms/Vectorize/BBVectorize.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Nov 14 11:19:54 PST 2012


On Nov 14, 2012, at 10:38 AM, Hal Finkel <hfinkel at anl.gov> wrote:

> -      DenseMap<ValuePair, size_t> BestChildren;
> +      std::vector<ValuePairWithDepth> BestChildren;

When in doubt, use SmallVector. There are very few cases where std::vector is preferable to SmallVector.

/jakob




More information about the llvm-commits mailing list