diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2020-04-13 19:28:20 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2020-04-13 19:33:45 +0200 |
commit | 01df04fb5984558d217c7b0cdd4bad67e2c5e5d3 (patch) | |
tree | 25df89884998c32edcd5e5a56cf76b0966f0b865 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 4031bb982b7a9bf8603851516ad72374ccc09a6f (diff) | |
download | llvm-01df04fb5984558d217c7b0cdd4bad67e2c5e5d3.zip llvm-01df04fb5984558d217c7b0cdd4bad67e2c5e5d3.tar.gz llvm-01df04fb5984558d217c7b0cdd4bad67e2c5e5d3.tar.bz2 |
[ADT] Reduce the requirements for the simple loop in DenseMap::clear
We can use it when just the value doesn't require destruction. Empty
keys are safe to overwrite always. This gets the important case of
std::pair values.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions