aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2020-04-13 19:28:20 +0200
committerBenjamin Kramer <benny.kra@googlemail.com>2020-04-13 19:33:45 +0200
commit01df04fb5984558d217c7b0cdd4bad67e2c5e5d3 (patch)
tree25df89884998c32edcd5e5a56cf76b0966f0b865 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent4031bb982b7a9bf8603851516ad72374ccc09a6f (diff)
downloadllvm-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