summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/CMakeLists.txt
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2015-01-31 09:13:36 +0000
committerOwen Anderson <resistor@mac.com>2015-01-31 09:13:36 +0000
commitbe2edf30e4fab6ced3e505352c1b2cad31f6cbf5 (patch)
tree29b9043bb8125c0879a34de9fe320a264ab77c18 /llvm/lib/Bitcode/CMakeLists.txt
parentda798ddba50c97d4719a71697db059260dd3bc45 (diff)
downloadbcm5719-llvm-be2edf30e4fab6ced3e505352c1b2cad31f6cbf5.tar.gz
bcm5719-llvm-be2edf30e4fab6ced3e505352c1b2cad31f6cbf5.zip
Replace another std::set in the core of CodeGenRegister, this time with sorted arrays.
The hot path through this region of code does lots of batch inserts into sets. By storing them as sorted arrays, we can defer the sorting to the end of the batch, which is dramatically more efficient. This reduces tblgen runtime by 25% on my worst-case target. llvm-svn: 227682
Diffstat (limited to 'llvm/lib/Bitcode/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud