summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/Collectors.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-30 20:25:31 +0000
committerDan Gohman <gohman@apple.com>2008-06-30 20:25:31 +0000
commit328e26d0aca59769d0c8cfb3f2e51fe25eac190e (patch)
tree41c32260b6f72d21824af649c8a804b7232470eb /llvm/lib/CodeGen/Collectors.cpp
parent9a8d1d9e56ecdc052add3620b478253fda0cb615 (diff)
downloadbcm5719-llvm-328e26d0aca59769d0c8cfb3f2e51fe25eac190e.tar.gz
bcm5719-llvm-328e26d0aca59769d0c8cfb3f2e51fe25eac190e.zip
Correct the allocation size for CCState's UsedRegs member, which
only needs one bit for each register. UsedRegs is a SmallVector sized at 16, so this eliminates a heap allocation/free for every call and return processed by Legalize on most targets. llvm-svn: 52915
Diffstat (limited to 'llvm/lib/CodeGen/Collectors.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud