diff options
author | John Regehr <regehr@cs.utah.edu> | 2018-11-18 01:51:43 +0000 |
---|---|---|
committer | John Regehr <regehr@cs.utah.edu> | 2018-11-18 01:51:43 +0000 |
commit | ab7781493d9edd2ad92e896ec310eb95dbf69d41 (patch) | |
tree | 47b9a5912b9d1743948cdb96c62317c83e44d228 /llvm/lib/CodeGen/LiveRegUnits.cpp | |
parent | 35f504c1131a8de2c12b70d36222667803981b67 (diff) | |
download | bcm5719-llvm-ab7781493d9edd2ad92e896ec310eb95dbf69d41.tar.gz bcm5719-llvm-ab7781493d9edd2ad92e896ec310eb95dbf69d41.zip |
tighten up a couple of assertions. hitting the BitPosition == BitWidth case that was previously not caught resulted in nasty corruption of APInts that (on my system at least) could not be detected using UBSan, ASan, or Valgrind. this patch does not cause any extra failures in a check-all nor does it interfere with bootstrapping. David Blaikie informally approved this change.
llvm-svn: 347148
Diffstat (limited to 'llvm/lib/CodeGen/LiveRegUnits.cpp')
0 files changed, 0 insertions, 0 deletions