aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/TwoAddressInstructionPass.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
commit117b64b3f8277e8882d711ea859bed380a3e6f14 (patch)
tree3b551327821da9d2abf822966738361327a5f500 /lib/CodeGen/TwoAddressInstructionPass.cpp
parentebd69421a2acf0c64f368de87d0795451060ed34 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52915 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions