| commit | e0536210718c5958e58773eb219f9424d7864509 | [log] [tgz] |
|---|---|---|
| author | Sanjay Patel <spatel@rotateright.com> | Thu Jun 23 17:41:59 2016 +0000 |
| committer | Sanjay Patel <spatel@rotateright.com> | Thu Jun 23 17:41:59 2016 +0000 |
| tree | 2c9b30384f8c9cd6f23bd8eb19c64fc81257e2aa | |
| parent | ef3358d5797a2d38f6f885a9f1d5fe771b6e7119 [diff] |
[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