diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-26 07:44:38 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-26 07:44:38 +0000 |
| commit | 47fbe9e00cebf2c18e9d967f308de142db4afc67 (patch) | |
| tree | 7e6d8b8a38d3f568378079bd405839cb57ba03dc /lib/Bytecode/Writer | |
| parent | cc7b07a0ff8311ae438bb172f54c5824194e7f8d (diff) | |
1. Remove redundant calls to clearUsedBits().
2. Fix countTrailingZeros to use a faster algorithm.
3. Simplify sext() slightly by using isNegative().
4. Implement ashr using word-at-a-time logic instead of bit-at-a-time
5. Rename locals named isNegative so they don't clash with method name.
6. Fix fromString to compute negated value correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer')
0 files changed, 0 insertions, 0 deletions
