aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/BasicBlock.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2015-02-27 17:57:01 +0000
committerOwen Anderson <resistor@mac.com>2015-02-27 17:57:01 +0000
commit4f527a22d26b0dfcc053bffa38140c7bcc943224 (patch)
tree7a24fdb5fe42e2e7fe88a888b9b4a12dc5fb7cab /llvm/lib/IR/BasicBlock.cpp
parente39269e7909354ca8137ecf9402fb4fd3533b52f (diff)
downloadllvm-4f527a22d26b0dfcc053bffa38140c7bcc943224.zip
llvm-4f527a22d26b0dfcc053bffa38140c7bcc943224.tar.gz
llvm-4f527a22d26b0dfcc053bffa38140c7bcc943224.tar.bz2
Switch a std::map to a DenseMap in CodeGenRegisters.
The keys of the map are unique by pointer address, so there's no need to use the llvm::less comparator. This allows us to use DenseMap instead, which reduces tblgen time by 20% on my stress test. llvm-svn: 230769
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions