aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterScavenging.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-27 21:59:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-27 21:59:26 +0000
commit681dcd14e9d59c2070e3a298328db9aea6069480 (patch)
tree4aafeb60a49d78d286effd129e14dbf66ab0457b /lib/CodeGen/RegisterScavenging.cpp
parent3fae29acef408d999914406a77c140b28f8ed91e (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