| commit | 4c50b52f63175e605d8e2cc937e84024a861ea25 | [log] [tgz] |
|---|---|---|
| author | Reid Spencer <rspencer@reidspencer.com> | Sun May 13 23:44:59 2007 +0000 |
| committer | Reid Spencer <rspencer@reidspencer.com> | Sun May 13 23:44:59 2007 +0000 |
| tree | 42fdbcd961b2016272fd1e7356bf64a9603f8da2 | |
| parent | 79c2c38ed584724a1713917dc87ee835794ad927 [diff] |
Add some things needed by the llvm-gcc version supporting bit accurate integer types: 1. Functions to compute div/rem at the same time. 2. Further assurance that an APInt with 0 bitwidth cannot be constructed. 3. Left and right rotate operations. 4. An exactLogBase2 function which requires an exact power of two or it returns -1. llvm-svn: 37025