diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-27 21:59:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-27 21:59:26 +0000 |
commit | 681dcd14e9d59c2070e3a298328db9aea6069480 (patch) | |
tree | 4aafeb60a49d78d286effd129e14dbf66ab0457b /lib/CodeGen/RegisterScavenging.cpp | |
parent | 3fae29acef408d999914406a77c140b28f8ed91e (diff) |
Implement countLeadingOnes() and getMinSignedBits(). This helps to minimize
the bit width of negative numbers by computing the minimum bit width for a
negative value. E.g. 0x1800000000000000 could be just 0x8000000000000000
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterScavenging.cpp')
0 files changed, 0 insertions, 0 deletions