diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-08-20 04:41:36 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-08-20 04:41:36 +0000 |
commit | 298f63803b7195f366931fc23b5f7e8b8ec495ca (patch) | |
tree | 4de980b9db5e4d612e2c1cca9150e156fc50226c /llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp | |
parent | b8083476f11b6a8ba8976d28840c60cfb89070de (diff) | |
download | bcm5719-llvm-298f63803b7195f366931fc23b5f7e8b8ec495ca.tar.gz bcm5719-llvm-298f63803b7195f366931fc23b5f7e8b8ec495ca.zip |
Fix an off by 1 bug that prevented SmallPtrSet from using all of its 'small' capacity. Then fix the early return in the move constructor that prevented 'small' moves from clearing the NumElements in the moved from object. The directed test missed this because it was always testing large moves due to the off by 1 bug.
llvm-svn: 216044
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp')
0 files changed, 0 insertions, 0 deletions