aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CriticalAntiDepBreaker.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
commitb8ea08ca8c43016f5bc35e1a3b6557d414448fae (patch)
tree0956cdcbe69ac66867db5044658cb51b10160e01 /lib/CodeGen/CriticalAntiDepBreaker.cpp
parenta61d3a98c47b009274530830b2489d49ce215dbb (diff)
downloadexternal_llvm-b8ea08ca8c43016f5bc35e1a3b6557d414448fae.zip
external_llvm-b8ea08ca8c43016f5bc35e1a3b6557d414448fae.tar.gz
external_llvm-b8ea08ca8c43016f5bc35e1a3b6557d414448fae.tar.bz2
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(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CriticalAntiDepBreaker.cpp')
0 files changed, 0 insertions, 0 deletions