Skip to content
Commit 4c50b52f authored by Reid Spencer's avatar Reid Spencer
Browse files

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
parent 79c2c38e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment