summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-08-14 02:56:51 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-08-14 02:56:51 +0000
commit915be26a857de5033061b5311058956f70a48ac1 (patch)
treef9af05651c14b42838914d36452071e081062c5d /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent1d4c3cfb88d12de8c308f2484ab9dc9ad74e3300 (diff)
downloadbcm5719-llvm-915be26a857de5033061b5311058956f70a48ac1.tar.gz
bcm5719-llvm-915be26a857de5033061b5311058956f70a48ac1.zip
Avoid undefined behavior in DenseMap::shrink_and_clear(). Log2_32_Ceil(0)
returns 32. This change mirrors the corresponding code in SmallDenseMap::shrink_and_clear(). llvm-svn: 161829
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud