This is an archive of the discontinued LLVM Phabricator instance.

[LiveVariables] Replace std::vector with SmallVector.
ClosedPublic

Authored by nadav on Jul 15 2020, 4:57 PM.

Details

Summary

Replace std::vector with SmallVector to reduce the number of mallocs. This method is frequently executed, and the number of elements in the vector is typically small.

Diff Detail