diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-23 18:28:32 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-23 18:28:32 +0000 |
commit | 21974b1fa635e40483bba3c785360ce76831f043 (patch) | |
tree | ed2149b9dd02030a3095b9bbfc5bc4b34b1fdadf /clang/lib/AST/CXXInheritance.cpp | |
parent | 2f0de8bdb93d242e1f6c4ed7c0ecbaaf39bf82ea (diff) | |
download | bcm5719-llvm-21974b1fa635e40483bba3c785360ce76831f043.tar.gz bcm5719-llvm-21974b1fa635e40483bba3c785360ce76831f043.zip |
post-ra-sched: Replace a std::set of regs with a bitvector.
Assuming that a single std::set node adds 3 control words, a bitvector
can store (3*8+4)*8=224 registers in the allocated memory of a single
element in the std::set (x86_64). Also we don't have to call malloc
for every register added.
llvm-svn: 151269
Diffstat (limited to 'clang/lib/AST/CXXInheritance.cpp')
0 files changed, 0 insertions, 0 deletions