diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-06-23 17:41:59 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-06-23 17:41:59 +0000 |
commit | e0536210718c5958e58773eb219f9424d7864509 (patch) | |
tree | 2c9b30384f8c9cd6f23bd8eb19c64fc81257e2aa /llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp | |
parent | ef3358d5797a2d38f6f885a9f1d5fe771b6e7119 (diff) | |
download | bcm5719-llvm-e0536210718c5958e58773eb219f9424d7864509.tar.gz bcm5719-llvm-e0536210718c5958e58773eb219f9424d7864509.zip |
[ValueTracking] simplify logic in ComputeNumSignBits (NFCI)
This was noted in http://reviews.llvm.org/D21610 . The previous code
predated the use of APInt ( http://reviews.llvm.org/rL47654 ), so it
had to account for the fixed width of uint64_t.
Now that we're using the variable width APInt, we can remove some
complexity.
llvm-svn: 273584
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp')
0 files changed, 0 insertions, 0 deletions