aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveRegUnits.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-10-14 20:45:17 +0000
committerAndrew Trick <atrick@apple.com>2013-10-14 20:45:17 +0000
commit7c489ab36564ddde3fa672aff52cfcae06517dfc (patch)
tree9a67916fa3df168bef810e2e66c21e2dcb14b41c /lib/CodeGen/LiveRegUnits.cpp
parenteb3b9f8ed979c34b7c11d749efb85df7fe1cfc9a (diff)
downloadexternal_llvm-7c489ab36564ddde3fa672aff52cfcae06517dfc.tar.gz
external_llvm-7c489ab36564ddde3fa672aff52cfcae06517dfc.tar.bz2
external_llvm-7c489ab36564ddde3fa672aff52cfcae06517dfc.zip
Use a SparseSet in LiveRegUnits.
Some clients may add block live ins and may track liveness over a large scope. This guarantees an efficient implementation in all cases with no memory allocation/deallocation, independent of the number of target registers. It could be slightly less convenient but is fine in the expected case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveRegUnits.cpp')
0 files changed, 0 insertions, 0 deletions