Use a SmallSet when we can to reduce memory allocations.
authorOwen Anderson <resistor@mac.com>
Fri, 27 Jun 2008 07:05:59 +0000 (07:05 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 27 Jun 2008 07:05:59 +0000 (07:05 +0000)
commitbffdf66b8050b45188cb265f27e81c41277ab0ca
tree80ea95ce74b8f224b822be72856d10017d53d1c0
parent1360b7d8f8d1969026870d18c582b4e3a7cff8b8
Use a SmallSet when we can to reduce memory allocations.
This speeds up a particular testcase from 0.0302s to 0.0222s in LiveVariables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52819 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveVariables.cpp