diff options
author | Owen Anderson <resistor@mac.com> | 2015-02-27 17:57:01 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2015-02-27 17:57:01 +0000 |
commit | 4f527a22d26b0dfcc053bffa38140c7bcc943224 (patch) | |
tree | 7a24fdb5fe42e2e7fe88a888b9b4a12dc5fb7cab /llvm/lib/IR/BasicBlock.cpp | |
parent | e39269e7909354ca8137ecf9402fb4fd3533b52f (diff) | |
download | llvm-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