diff options
author | Craig Topper <craig.topper@intel.com> | 2017-12-28 19:46:14 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-12-28 19:46:14 +0000 |
commit | bc04a97301920c892148f97998bea2df24123511 (patch) | |
tree | 5224d272549e326e130f24ce050fcf0965159044 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 55cf8809002dd7ab04943ac66e19358e3fe07b4b (diff) | |
download | bcm5719-llvm-bc04a97301920c892148f97998bea2df24123511.tar.gz bcm5719-llvm-bc04a97301920c892148f97998bea2df24123511.zip |
[KnownBits] Remove asserts from KnownBits::makeNegative/makeNonNegative
Many of the callers don't guarantee there is no conflict before calling these and instead check for conflicts later.
The makeNegative/makeNonNegative methods replaced Known.One.setSignBit() and Known.Zero.setSignBit() calls that didn't have asserts originally. So removing the asserts is no worse than the original code.
Fixes PR35769
llvm-svn: 321539
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions