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 | 31acef50ad109d755109bc72a82b14a6aa318f65 (patch) | |
| tree | bdbd20f395f401ba49c901ec8ce88bd155c87601 /llvm/utils/TableGen/CodeGenTarget.cpp | |
| parent | 6f0969ecb9f662ba7da62a809639b4dc3e11af5a (diff) | |
| download | bcm5719-llvm-31acef50ad109d755109bc72a82b14a6aa318f65.tar.gz bcm5719-llvm-31acef50ad109d755109bc72a82b14a6aa318f65.zip | |
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
llvm-svn: 34695
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
0 files changed, 0 insertions, 0 deletions

