diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-14 02:56:51 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-14 02:56:51 +0000 |
| commit | 915be26a857de5033061b5311058956f70a48ac1 (patch) | |
| tree | f9af05651c14b42838914d36452071e081062c5d /llvm/lib/CodeGen/SpillPlacement.cpp | |
| parent | 1d4c3cfb88d12de8c308f2484ab9dc9ad74e3300 (diff) | |
| download | bcm5719-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/SpillPlacement.cpp')
0 files changed, 0 insertions, 0 deletions

