diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2017-03-14 10:13:17 +0000 |
---|---|---|
committer | Oliver Stannard <oliver.stannard@arm.com> | 2017-03-14 10:13:17 +0000 |
commit | 062041113f86993cc0bb1488e90184ce5adf1e59 (patch) | |
tree | 98358496888a47e46834fc1c8a3d087d1223d354 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | d0bee506a04f012052d566baa206d8c8af95a3af (diff) | |
download | bcm5719-llvm-062041113f86993cc0bb1488e90184ce5adf1e59.tar.gz bcm5719-llvm-062041113f86993cc0bb1488e90184ce5adf1e59.zip |
[ValueTracking] Out of range shifts might be undef
If it is possible for the RHS of a shift operation to be greater than or equal
to the bit-width, then the result might be undef, and we can't report any known
bits.
In some cases, this was allowing a transformation in instcombine which widened
an undef value from i1 to i32, increasing the range of values that a function
could return.
Differential revision: https://reviews.llvm.org/D30781
llvm-svn: 297724
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions